Layer 224
constructor
inputKeyboardButtonUserProfile#e988037b text:string user_id:InputUser = KeyboardButton;

Parameters

Name Type Description
Text string Button text
UserId InputUser User ID

Returns

KeyboardButton

Gogram Example

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