messages.preparedInlineMessage #

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

Layer 223

messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;

Parameters #

NameTypeDescription
query_idlongThe query_id to pass to messages.sendInlineBotResult
resultBotInlineResultThe contents of the message, to be shown in a preview
peer_typesVector<InlineQueryPeerType>Types of chats where this message can be sent
cache_timeintCaching validity of the results
usersVector<User>Users mentioned in the results

Type #

messages.PreparedInlineMessage

messages.sendInlineBotResult #

Send a result obtained using messages.getInlineBotResults.

Inline queries #

Users can interact with your bot via inline queries, straight from the text input field in any chat.