Message.reply_checklist()¶
- Message.reply_checklist()¶
Shortcut for method
send_checklistwill automatically fill method attributes:chat_id
message_thread_id
business_connection_id
reply_parameters
Example
await message.reply_checklist("To do", [ types.InputChecklistTask(id=1, text="Task 1"), types.InputChecklistTask(id=2, text="Task 2") ])
- Parameters:
checklist (
InputChecklist) – Checklist to send.disable_notification (
bool, optional) – Sends the message silently. Users will receive a notification with no sound.protect_content (
bool, optional) – Protects the contents of the sent message from forwarding and saving.message_thread_id (
int, optional) – Unique identifier for the target message thread (topic) of the forum. For supergroups only.effect_id (
int, optional) – Unique identifier of the message effect. For private chats only.reply_parameters (
ReplyParameters, optional) – Describes reply parameters for the message that is being sent.schedule_date (
datetime, optional) – Date when the message will be automatically sent.repeat_period (
int, optional) – Period after which the message will be sent again in seconds.paid_message_star_count (
int, optional) – The number of Telegram Stars the user agreed to pay to send the messages.reply_markup (
InlineKeyboardMarkup|ReplyKeyboardMarkup|ReplyKeyboardRemove|ForceReply, optional) – Additional interface options. An object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.
- Returns:
On success, the sent
Messageis returned.- Raises:
RPCError – In case of a Telegram RPC error.