Link Search Menu Expand Document

Constructor: inputKeyboardButtonUserProfile

Back to constructors index

Button that links directly to a user profile

Attributes:

NameTypeRequiredDescription
textstringYesButton text
user_idInputUserOptionalUser ID

Type: KeyboardButton

Example:

$inputKeyboardButtonUserProfile = ['_' => 'inputKeyboardButtonUserProfile', 'text' => 'string', 'user_id' => InputUser];