28 lines
1.2 KiB
Markdown
28 lines
1.2 KiB
Markdown
---
|
|
title: inlineQueryResults
|
|
description: Represents results of the inline query. Use sendInlineQueryResultMessage to send the result of the query
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: inlineQueryResults
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Represents results of the inline query. Use sendInlineQueryResultMessage to send the result of the query
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|inline\_query\_id|[int64](../constructors/int64.md) | Yes|Unique identifier of the inline query|
|
|
|next\_offset|[string](../types/string.md) | Yes|Offset for the next request. If it is empty, there is no more results|
|
|
|results|Array of [InlineQueryResult](../types/InlineQueryResult.md) | Yes|Results of the query|
|
|
|switch\_pm\_text|[string](../types/string.md) | Yes|If non-empty, this text should be shown on the button, which opens private chat with the bot and sends bot start message with parameter switch_pm_parameter|
|
|
|switch\_pm\_parameter|[string](../types/string.md) | Yes|Parameter for the bot start message|
|
|
|
|
|
|
|
|
### Type: [InlineQueryResults](../types/InlineQueryResults.md)
|
|
|
|
|