keyboardButtonUserProfile
Button that links directly to a user profile
type tg.KeyboardButtonUserProfile 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 | int64 | yes | User ID |
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
keyboardButtonUserProfile#c0fd5d09