Layer 220
constructor
keyboardButtonUserProfile#308660c1 text:string user_id:long = KeyboardButton;

Parameters

Name Type Description
Text string Button text
UserId long User ID

Returns

KeyboardButton

Gogram Example

// Creating KeyboardButtonUserProfile constructor
obj := &tg.KeyboardButtonUserProfile{
    Text: "...",
    UserId: int64(0),
}