Skip to main content

messages.preparedInlineMessage

Represents a prepared inline message received via a bot's mini app, that can be sent to some chats »

type tg.MessagesPreparedInlineMessage struct { /* ... */ }

Fields

NameTypeRequiredDescription
QueryIDint64yesThe query_id to pass to messages.sendInlineBotResult
ResultBotInlineResultClassyesThe contents of the message, to be shown in a preview
PeerTypes[]InlineQueryPeerTypeClassyesTypes of chats where this message can be sent
CacheTimeintyesCaching validity of the results
Users[]UserClassyesUsers mentioned in the results

Returned by

References