Skip to content

GramIO API Reference / gramio/dist / AnswerInlineQueryParams

Interface: AnswerInlineQueryParams

Defined in: @gramio/types/out/params.d.ts:4576

Params object for answerInlineQuery method

Properties

PropertyTypeDescriptionDefined in
button?TelegramInlineQueryResultsButtonA JSON-serialized object describing a button to be shown above inline query results@gramio/types/out/params.d.ts:4600
cache_time?numberThe maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.@gramio/types/out/params.d.ts:4588
inline_query_idstringUnique identifier for the answered query@gramio/types/out/params.d.ts:4580
is_personal?booleanPass True if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query.@gramio/types/out/params.d.ts:4592
next_offset?stringPass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes.@gramio/types/out/params.d.ts:4596
resultsTelegramInlineQueryResult[]A JSON-serialized Array of results for the inline query@gramio/types/out/params.d.ts:4584