Message.reply_checklist()

Message.reply_checklist()

Bound method reply_checklist of Message.

Restored for pyroblack <= 2.7.6 compatibility. The rebased Client.send_checklist() takes a single types.InputChecklist object; this bound shortcut rebuilds that object from the legacy title/tasks/entities arguments and delegates, preserving the old call signature await message.reply_checklist(title, tasks, ...).

Parameters:
  • title (str) – Title of the checklist.

  • tasks (List of types.InputChecklistTask) – List of 1-30 tasks in the checklist.

  • parse_mode (enums.ParseMode, optional) – Parse mode for the checklist title.

  • entities (List of types.MessageEntity, optional) – Entities for the title (mapped to title_entities).

  • quote (bool, optional) – Whether to quote the replied message. Defaults to True in non-private chats.

  • others_can_add_tasks / others_can_mark_tasks_as_done (bool, optional) – Checklist permissions for other users.

  • disable_notification (bool, optional) – Send silently.

  • protect_content (bool, optional) – Protect the message content from forwarding/saving.

  • message_thread_id (int, optional) – Target forum topic id.

  • effect_id (int, optional) – Message effect id (mapped to message_effect_id).

  • reply_parameters (types.ReplyParameters, optional) – Reply parameters.

  • schedule_date (datetime, optional) – When to send the message.

  • paid_message_star_count (int, optional) – Stars the user agreed to pay to send the message.

Returns:

On success, the sent Message is returned.

Raises:

RPCError – In case of a Telegram RPC error.