get_prepared_inline_message()

async Client.get_prepared_inline_message()

Get a prepared inline message by ID.

Usable by Users Bots
Parameters:
  • bot_id (int | str) – The bot that created the prepared message.

  • message_id (str) – The ID of the prepared inline message.

Returns:

PreparedInlineMessage – The prepared inline message.

Example

msg = await app.get_prepared_inline_message(bot, "msg_id")