peyk.platforms.bale.methods.answer_callback_query

async peyk.platforms.bale.methods.answer_callback_query(self, callback_query_id: str, *, text: str | None = None, show_alert: bool | None = None) bool[source]

Answers the callback query request through the Bale API.

Parameters:
  • callback_query_id – Identifier of the callback query.

  • text – Text content supplied to the operation.

  • show_alert – Value used by this operation.

Returns:

Result produced by the Bale operation.