diff --git a/CHANGES/1761.feature.rst b/CHANGES/1761.feature.rst new file mode 100644 index 00000000..5b3fd4bb --- /dev/null +++ b/CHANGES/1761.feature.rst @@ -0,0 +1,34 @@ +Updated to Bot API 9.4 (February 9, 2026) + +**New Features:** + +- Bots with Premium subscriptions can now use custom emoji directly in messages to private, group, and supergroup chats +- Bots can create topics in private chats via the :class:`aiogram.methods.create_forum_topic.CreateForumTopic` method +- Bots can prevent users from creating/deleting topics in private chats through BotFather settings + +**New Fields:** + +- Added :code:`allows_users_to_create_topics` field to :class:`aiogram.types.user.User` class - indicates whether the user allows others to create topics in chats with them +- Added :code:`icon_custom_emoji_id` field to :class:`aiogram.types.keyboard_button.KeyboardButton` and :class:`aiogram.types.inline_keyboard_button.InlineKeyboardButton` classes - allows displaying custom emoji icons on buttons +- Added :code:`style` field to :class:`aiogram.types.keyboard_button.KeyboardButton` and :class:`aiogram.types.inline_keyboard_button.InlineKeyboardButton` classes - changes button color/style +- Added :code:`chat_owner_left` field to :class:`aiogram.types.message.Message` class - service message indicating chat owner has left (type: :class:`aiogram.types.chat_owner_left.ChatOwnerLeft`) +- Added :code:`chat_owner_changed` field to :class:`aiogram.types.message.Message` class - service message indicating chat ownership has transferred (type: :class:`aiogram.types.chat_owner_changed.ChatOwnerChanged`) +- Added :code:`qualities` field to :class:`aiogram.types.video.Video` class - list of available video quality options (type: :code:`list[`:class:`aiogram.types.video_quality.VideoQuality`:code:`]`) +- Added :code:`first_profile_audio` field to :class:`aiogram.types.chat_full_info.ChatFullInfo` class - user's first profile audio +- Added :code:`rarity` field to :class:`aiogram.types.unique_gift_model.UniqueGiftModel` class +- Added :code:`is_burned` field to :class:`aiogram.types.unique_gift.UniqueGift` class + +**New Methods:** + +- Added :class:`aiogram.methods.set_my_profile_photo.SetMyProfilePhoto` method - allows bots to set their profile photo +- Added :class:`aiogram.methods.remove_my_profile_photo.RemoveMyProfilePhoto` method - allows bots to remove their profile photo +- Added :class:`aiogram.methods.get_user_profile_audios.GetUserProfileAudios` method - retrieves a user's profile audio list + +**New Types:** + +- Added :class:`aiogram.types.chat_owner_left.ChatOwnerLeft` type - describes a service message about the chat owner leaving the chat +- Added :class:`aiogram.types.chat_owner_changed.ChatOwnerChanged` type - describes a service message about an ownership change in the chat +- Added :class:`aiogram.types.video_quality.VideoQuality` type - describes available video quality options +- Added :class:`aiogram.types.user_profile_audios.UserProfileAudios` type - represents the collection of audios displayed on a user's profile + +Source: https://core.telegram.org/bots/api-changelog#february-9-2026