Constructor: messages.preparedInlineMessage
Represents a prepared inline message received via a bot’s mini app, that can be sent to some chats »
Attributes:
Name | Type | Required | Description |
---|---|---|---|
query_id | long | Yes | The query_id to pass to messages.sendInlineBotResult |
result | BotInlineResult | Yes | The contents of the message, to be shown in a preview |
peer_types | Array of InlineQueryPeerType | Yes | Types of chats where this message can be sent |
cache_time | int | Yes | Caching validity of the results |
users | Array of User | Yes | Users mentioned in the results |
Type: messages.PreparedInlineMessage
Example:
$messages_preparedInlineMessage = ['_' => 'messages.preparedInlineMessage', 'query_id' => long, 'result' => BotInlineResult, 'peer_types' => [InlineQueryPeerType, InlineQueryPeerType], 'cache_time' => int, 'users' => [User, User]];