inputKeyboardButtonUserProfile
Button that links directly to a user profile
type tg.InputKeyboardButtonUserProfile struct { /* ... */ }
Implements KeyboardButton.
Fieldsโ
| Name | Type | Required | Description |
|---|---|---|---|
Style | KeyboardButtonStyle | โ | Button style, see here ยป for more info on button styles. |
Text | string | yes | Button text |
UserID | InputUserClass | yes | User ID |
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
inputKeyboardButtonUserProfile#7d5e07c7