send_scheduled_messages()

async Client.send_scheduled_messages()

Send scheduled messages immediately.

Usable by Users Bots
Parameters:
  • id (List[int], *optional*) – List of scheduled message IDs to send now

  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

Returns:

Message

Example

await app.send_scheduled_messages(chat_id, ...)