Layer 231
constructor
inlineButtonTypeCallback#2955bc38 flags:# requires_password:flags.0?true data:bytes = InlineButtonType;

Parameters

Name Type Description
RequiresPassword flags.0?true Whether pressing the button requires the user's 2 FA password
Data bytes Callback data

Gogram Example

// Creating InlineButtonTypeCallback constructor
obj := &tg.InlineButtonTypeCallback{
    Data: []byte{0x01, 0x02, 0x03},

    // Optional fields:
    // RequiresPassword: true,
}