Pyrogram v2.2.16#

Scheme layer used: 214#

Scheme layer used: 211#

  • Rename direct_message_topic_id to direct_messages_topic_id in ReplyParameters. This parameter can be used to send a message to a direct messages chat topic.

  • Added the field checklist_task_id to the class ReplyParameters, allowing bots to reply to a specific checklist task.

  • Added the field reply_to_checklist_task_id to the class Message.

  • Added the field can_manage_direct_messages to ChatPrivileges.

  • Added the field is_direct_messages to the classes Chat which can be used to identify supergroups that are used as channel direct messages chats.

  • Added the fields parent_chat and direct_messages_chat_id to the class Chat which indicates the parent channel chat for a channel direct messages chat.

  • Added the class DirectMessagesTopic and the field direct_messages_topic to the class Message, describing a topic of a direct messages chat.

  • Added get_direct_messages_topics_by_id(), get_direct_messages_topics(), set_chat_direct_messages_group().