telegram api constructor · layer 229 · #ff57708d

messages.preparedInlineMessage

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

definition

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

history

present in layers 193–229

idlayers
#ff57708d193–229