Layer 220
InputKeyboardButtonUserProfile
Button that links directly to a user profile
constructor
inputKeyboardButtonUserProfile#e988037b text:string user_id:InputUser = KeyboardButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | string | Button text |
| UserId | InputUser | User ID |
Returns
KeyboardButtonGogram Example
// Creating InputKeyboardButtonUserProfile constructor obj := &tg.InputKeyboardButtonUserProfile{ Text: "...", UserId: &tg.InputUserSelf{}, }