inputKeyboardButtonUserProfile #

Button that links directly to a user profile

Use this constructor to send a keyboardButtonUserProfile button in an inline keyboard.

Layer 223

inputKeyboardButtonUserProfile#7d5e07c7 flags:# style:flags.10?KeyboardButtonStyle text:string user_id:InputUser = KeyboardButton;

Parameters #

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

Type #

KeyboardButton

Bot buttons #

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

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.

Telegram Bot Features #

This page describes individual bot elements in greater detail. For a general overview of bots, read the introduction to bots first.