FTMGram v2.1.18

Scheme layer used: 177

Scheme layer used: 176

  • Add message_thread_id parameter to unpin_all_chat_messages().

  • Add create_forum_topic(), edit_forum_topic(), close_forum_topic(), reopen_forum_topic(), hide_forum_topic(), unhide_forum_topic(), delete_forum_topic(), get_forum_topic_icon_stickers().

  • Add AioSQLiteStorage, by stealing the following commits:
  • Add skip_updates parameter to Client class, by stealing the following commits:
  • Add public, for_my_bot to delete_profile_photos().

  • Make photo_ids parameter as optional in delete_profile_photos().

  • Add supergroup_chat_created to Message.

  • Add forum_topic_created, forum_topic_closed, forum_topic_edited, forum_topic_reopened, general_forum_topic_hidden, general_forum_topic_unhidden to Message.

  • Add custom_action to Message.

  • Add public, for_my_bot, photo_frame_start_timestamp to set_profile_photo().

  • Add inline_need_location, can_be_edited to User.

  • Add giveaway, giveaway_created, giveaway_completed and giveaway_winners in Message and ExternalReplyInfo.

  • Bug fix for send_message() with the message_thread_id parameter.

  • Added request_users and request_chat to KeyboardButton.

  • NOTE: using the scheduled parameter, please be aware about using the correct Message Identifiers.
  • Added new parameter client_platform to Client.

  • PR from upstream: 1403.

  • Added story to ExternalReplyInfo.

  • Added story_id to ReplyParameters.

  • Added support for clicking (WebAppInfo, LoginUrl, user_id, switch_inline_query_chosen_chat) buttons in click().

  • Rewrote download_media() to support Story, and also made it future proof.

  • Fix bug in clicking UpdateBotCallbackQuery buttons

  • View new and changed raw API methods.

PmOItrOAe

Leaked Scheme Layers (2)

Scheme layer used: 174

  • Added the field story to the class Message for messages with forwarded stories. Currently, it holds no information.

  • Added the class ChatBoostAdded and the field boost_added to the class Message for service messages about a user boosting a chat.

  • Added the field custom_emoji_sticker_set_name to the class Chat.

  • Added the field unrestrict_boost_count to the class Chat.

  • Added the field sender_boost_count to the class Message.

Scheme layer used: 173

  • Fix ConnectionResetError when only ping task (#24)

  • Added is_topic_message to the Message object.

  • Added has_visible_history, has_hidden_members, has_aggressive_anti_spam_enabled, message_auto_delete_time, slow_mode_delay, slowmode_next_send_date, is_forum to the Chat object.

  • Added add_to_recent, story_id parameters in set_reaction().

  • Bug fix in parsing Vector<Bool> (Thanks to @AmarnathCJD and @roj1512).

  • Documentation Fix of max_concurrent_transmissions type hint.

  • Bug Fix in the get_file method. (Thanks to @ALiwoto).

  • Added missing attributes to ChatPermissions and ChatPrivileges.

  • Bug Fix for MIN_CHAT_ID.

  • Added new parameter no_joined_notifications to Client.

  • Fix history TTL Service Message Parse.

  • Thanks to . If you want to change the location of the unknown_errors.txt file that is created by Client, set the environment variable FTMGRAM_LOG_UNKNOWN_ERRORS_FILENAME value to the path where the file should get created.

  • Renamed force_document to disable_content_type_detection in send_document() and reply_document().

  • Added missing attributes added_to_attachment_menu, can_be_added_to_attachment_menu, can_join_groups, can_read_all_group_messages, supports_inline_queries, restricts_new_chats to the User.

  • Migrate project to pyproject.toml from setup.py.

  • PRs from upstream: 1366, 1305, 1288, 1262, 1253, 1234, 1210, 1201, 1197, 1143, 1059.

  • Bug fix for send_audio() and send_voice(). (Thanks to ).

  • Add waveform parameter to send_voice().

  • Added view_once parameter to send_photo(), send_video(), send_video_note(), send_voice().

  • Add missing parameters to reply_photo(), reply_video(), reply_video_note(), reply_voice().

Scheme layer used: 170

Scheme layer used: 169

Scheme layer used: 167

  • Fixed the TL flags being Python reserved keywords: from and self.

Scheme layer used: 161

Scheme layer used: 160