Raw.messages.PreparedInlineMessage
Represents a prepared inline message received via a bot’s mini app, that can be sent to some chats
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;
export namespace Raw {
export namespace messages {
export class PreparedInlineMessage {
constructor(params: {
queryId: bigint;
result: Raw.TypeBotInlineResult;
peerTypes: Array<Raw.TypeInlineQueryPeerType>;
cacheTime: number;
users: Array<Raw.TypeUser>;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 198
Constructor ID: 0xff57708d
Property
queryId
: bigintThe queryId to pass to messages.sendinlinebotresult
result
: Raw.TypeBotInlineResultThe contents of the message, to be shown in a preview
peerTypes
: Array of Raw.TypeInlineQueryPeerTypeTypes of chats where this message can be sent
cacheTime
: numberCaching validity of the results
users
: Array of Raw.TypeUserUsers mentioned in the results