We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898b322 commit 7279365Copy full SHA for 7279365
1 file changed
pyrogram/methods/messages/send_checklist.py
@@ -103,11 +103,13 @@ async def send_checklist(
103
104
await client.send_checklist(
105
chat_id=message.chat.id,
106
- title="To do",
107
- tasks=[
108
- types.InputChecklistTask(id=1, text="Task 1"),
109
- types.InputChecklistTask(id=2, text="Task 2")
110
- ]
+ checklist=types.InputChecklist(
+ title="To do",
+ tasks=[
+ types.InputChecklistTask(id=1, text="Task 1"),
+ types.InputChecklistTask(id=2, text="Task 2")
111
+ ]
112
+ )
113
)
114
"""
115
title, entities = (await utils.parse_text_entities(
0 commit comments