Pyrogram v2.2.16#
Scheme layer used: 214#
fix get_chat_photos <https://github.com/TelegramPlayground/PyroTGFork/pull/203>.
Update
reply_game(),reply_text(),reply_animation(),reply_audio(),reply_contact(),reply_document(),reply_location(),reply_media_group(),reply_photo(),reply_poll(),reply_sticker(),reply_venue(),reply_video(),reply_video_note(),reply_voice(),reply_invoice(),forward(),copy(),reply_cached_media()methods to support direct_messages_topic_id.Fix timestamp_to_datetime to correctly handle timezone conversion.
Scheme layer used: 211#
Rename direct_message_topic_id to
direct_messages_topic_idinReplyParameters. This parameter can be used to send a message to a direct messages chat topic.Added the field
checklist_task_idto the classReplyParameters, allowing bots to reply to a specific checklist task.Added the field
reply_to_checklist_task_idto the classMessage.Added the field
can_manage_direct_messagestoChatPrivileges.Added the field
is_direct_messagesto the classesChatwhich can be used to identify supergroups that are used as channel direct messages chats.Added the fields
parent_chatanddirect_messages_chat_idto the classChatwhich indicates the parent channel chat for a channel direct messages chat.Added the class
DirectMessagesTopicand the fielddirect_messages_topicto the classMessage, describing a topic of a direct messages chat.Added
get_direct_messages_topics_by_id(),get_direct_messages_topics(),set_chat_direct_messages_group().