# Messages.PreparedInlineMessage

Represents a [prepared inline message received via a bot's mini app, that can be sent to some chats »](/api/bots/inline.md#21-using-a-prepared-inline-message)

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

---functions---

messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage;
```

### Constructors

| Constructor | Description |
| --- | --- |
| [messages.preparedInlineMessage](/constructor/messages.preparedInlineMessage.md) | Represents a [prepared inline message received via a bot's mini app, that can be sent to some chats »](/api/bots/inline.md#21-using-a-prepared-inline-message) |

### Methods

| Method | Description |
| --- | --- |
| [messages.getPreparedInlineMessage](/method/messages.getPreparedInlineMessage.md) | Obtain a [prepared inline message](/api/bots/inline.md#21-using-a-prepared-inline-message) generated by a [mini app](/api/bots/webapps.md): invoked when handling [web\_app\_send\_prepared\_message events](/api/web-events.md#web-app-send-prepared-message) |

### Related pages

#### [Inline queries](/api/bots/inline.md)
Users can interact with your bot via inline queries, straight from the text input field in any chat.