Link Search Menu Expand Document

Constructor: keyboardButtonUserProfile

Back to constructors index

Button that links directly to a user profile

Attributes:

NameTypeRequiredDescription
textstringYesButton text
user_idlongYesUser ID

Type: KeyboardButton

Example:

$keyboardButtonUserProfile = ['_' => 'keyboardButtonUserProfile', 'text' => 'string', 'user_id' => long];