Skip to main content

keyboardButtonUserProfile

Button that links directly to a user profile

type tg.KeyboardButtonUserProfile struct { /* ... */ }

Implements KeyboardButton.

Fieldsโ€‹

NameTypeRequiredDescription
StyleKeyboardButtonStyleโ€”Button style, see here ยป for more info on button styles.
TextstringyesButton text
UserIDint64yesUser ID

Referencesโ€‹