Layer 224
constructor
inputKeyboardButtonUserProfile#7d5e07c7 flags:# style:flags.10?KeyboardButtonStyle text:string user_id:InputUser = KeyboardButton;

Parameters

Name Type Description
Style flags.10?KeyboardButtonStyle
Text string Button text
UserId InputUser User ID

Returns

KeyboardButton

Gogram Example

// Creating InputKeyboardButtonUserProfile constructor
obj := &tg.InputKeyboardButtonUserProfile{
    Text: "Hello, World!",
    UserId: &tg.InputUserSelf{},

    // Optional fields:
    // Style: &tg.KeyboardButtonStyle{},
}