-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
Bot API 9.3
Important
- Comment here or in the dev group what you want to work on so we can assign you
- Please copy the relevant part of the checklist from Full Support for Bot API 9.3 #5077 to your PR and make sure to cover everything :)
- Please base your branch on the api-9.3-central branch
- If this is your first contribution, please be sure to read the contribution guide
- and feel free to reach out with any questions via https://t.me/pythontelegrambotchannel/105
Describe the solution you'd like
Topics in private chats (@aelkheir) #5079
- Added the field has_topics_enabled to the class User, which can be used to determine whether forum topic mode is enabled for the bot in private chats.
- Added the method sendMessageDraft, allowing partial messages to be streamed to a user while being generated.
- Supported the fields message_thread_id and is_topic_message in the class Message for messages in private chats with forum topic mode enabled.
- Supported the parameter message_thread_id in private chats with topics in the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup, copyMessage, copyMessages, forwardMessage, and forwardMessages, allowing bots to send a message to a specific topic.
- Supported the parameter message_thread_id in private chats in the method sendChatAction, allowing bots to send chat actions to a specific topic in private chats.
- Supported the parameter message_thread_id in private chats with topics in the method editForumTopic, deleteForumTopic, and unpinAllForumTopicMessages, allowing bots to manage topics in private chats.
- Added the field is_name_implicit to the classes ForumTopic and ForumTopicCreated.
Gifts
- Added the methods getUserGifts and getChatGifts. Api 9.3 get gifts #5087
- Replaced the field last_resale_star_count with the fields last_resale_currency and last_resale_amount in the class UniqueGiftInfo. Api 9.3
UniqueGiftInfo#5094 - Replaced the parameter exclude_limited with the parameters exclude_limited_upgradable and exclude_limited_non_upgradable in the method getBusinessAccountGifts. Api 9.3
getBusinessAccountGifts#5095 - Added the value “gifted_upgrade” as a possible value of UniqueGiftInfo.origin for messages about the upgrade of a gift that was purchased after it was sent. Api 9.3
UniqueGiftInfo#5094 - Added the value “offer” as a possible value of UniqueGiftInfo.origin for messages about the purchase of a gift through a purchase offer. Api 9.3
UniqueGiftInfo#5094 - Added the field gift_upgrade_sent to the class Message. Api 9.3 some gift related updates #5089
- Added the field gift_id to the class UniqueGift. Api 9.3 Changes for
UniqueGift#5092 - Added the field is_from_blockchain to the class UniqueGift. Api 9.3 Changes for
UniqueGift#5092 - Added the parameter exclude_from_blockchain in the method getBusinessAccountGifts, to filter out gifts that were assigned from the TON blockchain. Api 9.3
getBusinessAccountGifts#5095 - Added the fields personal_total_count and personal_remaining_count to the class Gift. Api 9.3 GiftBackground & Gift Changes #5090
- Added the field is_premium to the class Gift Api 9.3 GiftBackground & Gift Changes #5090
- Added the field is_premium to the class UniqueGift. Api 9.3 Changes for
UniqueGift#5092 - Added the field is_upgrade_separate to the classes GiftInfo and OwnedGiftRegular. Api 9.3 Updates for
GiftInfoandOwnedGiftRegular#5091 - Added the class UniqueGiftColors that describes the color scheme for a user's name, replies to messages and link previews based on a unique gift. Api 9.3: Add
UniqueGiftColors&ChatFullInfoUpdates #5084 - Added the field has_colors to the class Gift. Api 9.3 GiftBackground & Gift Changes #5090
- Added the field colors to the class UniqueGift. Api 9.3 Changes for
UniqueGift#5092 - Added the class GiftBackground and the field background to the class Gift. Api 9.3 GiftBackground & Gift Changes #5090
- Added the field unique_gift_variant_count to the class Gift. Api 9.3 GiftBackground & Gift Changes #5090
- Added the field unique_gift_number to the classes GiftInfo and OwnedGiftRegular. Api 9.3 Updates for
GiftInfoandOwnedGiftRegular#5091 - Added the field gifts_from_channels to the class AcceptedGiftTypes. Api 9.3 some gift related updates #5089
Miscellaneous
[ ] Allowed bots to disable their main username if they have additional active usernames purchased on Fragment.No documentation change IISC- Allowed bots to disable the right can_restrict_members in channel chats. Api 9.3 misc doc updates #5085
- Added the method repostStory, allowing bots to repost stories across different business accounts they manage. Api 9.3 Rest of Misc #5086
- Added the class UserRating and the field rating to the class ChatFullInfo. Api 9.3: Add
UniqueGiftColors&ChatFullInfoUpdates #5084 - Increased the maximum price for paid media to 25000 Telegram Stars. Api 9.3 misc doc updates #5085
- Added the field paid_message_star_count to the class ChatFullInfo. Api 9.3: Add
UniqueGiftColors&ChatFullInfoUpdates #5084 - Added the parameter message_effect_id to the methods forwardMessage and copyMessage. Api 9.3 Rest of Misc #5086
- Added the field unique_gift_colors to the class ChatFullInfo. Api 9.3: Add
UniqueGiftColors&ChatFullInfoUpdates #5084 - Added the field completed_by_chat to the class ChecklistTask. Api 9.3 Rest of Misc #5086
Describe alternatives you've considered
If you want to contribute, you can start from the Contribution Guide.
Additional context
Please comment below before start working on any part of the update so as to keep things in track and avoid double work.
Metadata
Metadata
Assignees
Labels
No labels