Layer 227
InputKeyboardButtonUserProfile
Button that links directly to a user profile
constructor
inputKeyboardButtonUserProfile#7d5e07c7 flags:# style:flags.10?KeyboardButtonStyle text:string user_id:InputUser = KeyboardButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Style | flags .10? KeyboardButtonStyle | Button style, see here for more info on button styles. |
| Text | string | Button text |
| UserId | InputUser | User ID |
Returns
KeyboardButtonGogram Example
// Creating InputKeyboardButtonUserProfile constructor obj := &tg.InputKeyboardButtonUserProfile{ Style: nil, Text: "Hello, World!", UserId: &tg.InputUserSelf{}, }