peyk.platforms.telegram.methods.edit_message_checklist¶
- async peyk.platforms.telegram.methods.edit_message_checklist(self, business_connection_id: str, chat_id: int | str, message_id: int, checklist: InputChecklist, *, reply_markup: InlineKeyboardMarkup | None = None) Message¶
Use this method to edit a checklist on behalf of a connected business account. On success, the edited Message is returned.
- Parameters:
business_connection_id – Unique identifier of the business connection on behalf of which the message will be sent
chat_id – Unique identifier for the target chat or username of the target bot in the format @username
message_id – Unique identifier for the target message
checklist – A JSON-serialized object for the new checklist
reply_markup – A JSON-serialized object for the new inline keyboard for the message
- Returns:
Result returned by Telegram on successful execution.
- Return type: