keyboardButtonUserProfile #

Button that links directly to a user profile

Available only in inline keyboards.

When pressed, clients must open the profile of the user identified by user_id.

Layer 223

keyboardButtonUserProfile#c0fd5d09 flags:# style:flags.10?KeyboardButtonStyle text:string user_id:long = KeyboardButton;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
styleflags.10?KeyboardButtonStyleButton style, see here » for more info on button styles.
textstringButton text
user_idlongUser ID

Type #

KeyboardButton

Bot buttons #

Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.

replyInlineMarkup #

Represents an inline keyboard