Layer 227
constructor
keyboardButtonUserProfile#c0fd5d09 flags:# style:flags.10?KeyboardButtonStyle text:string user_id:long = KeyboardButton;

Parameters

Name Type Description
Style flags .10? KeyboardButtonStyle Button style, see here for more info on button styles.
Text string Button text
UserId long User ID

Returns

KeyboardButton

Gogram Example

// Creating KeyboardButtonUserProfile constructor
obj := &tg.KeyboardButtonUserProfile{
    Style: nil,
    Text: "Hello, World!",
    UserId: int64(1234567890),
}