AnswerInlineQueryMethod

Method to send answers to an inline query

Members

Mixins

__anonymous
mixin TelegramMethod!"/answerInlineQuery"
Undocumented in source.

Variables

cache_time
Duration cache_time;

The maximum amount of time that the result of the inline query may be cached on the server

inline_query_id
string inline_query_id;

Unique identifier for the answered query

is_personal
bool is_personal;

Pass true, if results may be cached on the server side only for the user that sent the query

next_offset
string next_offset;

Pass the offset that a client should send in the next query with the same text to receive more results

results
InlineQueryResult[] results;

Array of results for the inline query

switch_pm_parameter
string switch_pm_parameter;

Deep-linking parameter for the /start message sent to the bot when user presses the switch button. 1-64 characters, only A-Z, a-z, 0-9, _ and - are allowed.

switch_pm_text
string switch_pm_text;

If passed, clients will display a button with specified text that switches the user to a private chat with the bot and sends the bot a start message with the parameter switch_pm_parameter

See Also

Meta