Skip to content

answer_inline_query

Use this method to send answers to an inline query. On success, True is returned.

Parameters

Returns

bool

Examples

  • Required Parameters
await bot.answer_inline_query(
    inline_query_id=your_inline_query_id_here,
    results=your_results_here
)
  • All Parameters
await bot.answer_inline_query(
    inline_query_id=your_inline_query_id_here,
    results=your_results_here,
    cache_time=your_cache_time_here,
    is_personal=your_is_personal_here,
    next_offset=your_next_offset_here,
    button=your_button_here
)