Layer 231
InlineButtonTypeCallback
Inline button that sends a callback query with the given data to the bot.
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 |
Returns
InlineButtonTypeGogram Example
// Creating InlineButtonTypeCallback constructor obj := &tg.InlineButtonTypeCallback{ Data: []byte{0x01, 0x02, 0x03}, // Optional fields: // RequiresPassword: true, }