Layer 220
KeyboardButtonUserProfile
Button that links directly to a user profile
constructor
keyboardButtonUserProfile#308660c1 text:string user_id:long = KeyboardButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | string | Button text |
| UserId | long | User ID |
Returns
KeyboardButtonGogram Example
// Creating KeyboardButtonUserProfile constructor obj := &tg.KeyboardButtonUserProfile{ Text: "...", UserId: int64(0), }