Raw.messages.GetBotCallbackAnswer
Press an inline callback button and get a callback answer from the bot
messages.getBotCallbackAnswer#9342ca07 flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes password:flags.2?InputCheckPasswordSRP = messages.BotCallbackAnswer;
export namespace Raw {
export namespace messages {
export class GetBotCallbackAnswer {
constructor(params: {
game?: boolean;
peer: Raw.TypeInputPeer;
msgId: number;
data?: Buffer;
password?: Raw.TypeInputCheckPasswordSRP;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x9342ca07
Property
game
: boolean or undefinedWhether this is a “play game” button
peer
: Raw.TypeInputPeerWhere was the inline keyboard sent
msgId
: numberId of the message with the inline keyboard
data
: Buffer or undefinedCallback data
password
: Raw.TypeInputCheckPasswordSRP or undefinedFor buttons requiring you to verify your identity with your 2fa password, the srp payload generated using srp.