-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Labels
⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api🔌 enhancementpr description: enhancementpr description: enhancement
Description
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
Bot API 9.2
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 # to your PR and make sure to cover everything :)
- Please base your branch on the api-9.2-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
Checklists (@Poolitzer #4917)
- 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.
Gifts (@Poolitzer #4917)
- Added the field publisher_chat to the classes Gift and UniqueGift which can be used to get information about the chat that published a gift.
Direct Messages in Channels (@harshil21 #4914)
- Added the field is_direct_messages to the classes Chat and ChatFullInfo which can be used to identify supergroups that are used as channel direct messages chats.
- Added the field parent_chat to the class ChatFullInfo 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 the parameter direct_messages_topic_id to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendDice, sendInvoice, sendMediaGroup, copyMessage, copyMessages, forwardMessage and forwardMessages. This parameter can be used to send a message to a direct messages chat topic.
Suggested Posts (@aelkheir, )
- Added the class SuggestedPostParameters and the parameter suggested_post_parameters to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendDice, sendInvoice, copyMessage, forwardMessage. This parameter can be used to send a suggested post to a direct messages chat topic. (@aelkheir) Add classes
SuggestedPost[Parameters/Price]
. #4912 - Added the class SuggestedPostPrice, describing the price of a suggested post. (@aelkheir) Add classes
SuggestedPost[Parameters/Price]
. #4912
- Added the method approveSuggestedPost, allowing bots to approve incoming suggested posts.
- Added the method declineSuggestedPost, allowing bots to decline incoming suggested posts.
(@Poolitzer )
- Added the field can_manage_direct_messages to the classes ChatMemberAdministrator and ChatAdministratorRights.
- Added the parameter can_manage_direct_messages to the method promoteChatMember.
- Added the field is_paid_post to the class Message, which can be used to identify paid posts. Such posts must not be deleted for 24 hours to receive the payment.
After first section of Suggested Posts
- Added the class SuggestedPostInfo and the field suggested_post_info to the class Message, describing a suggested post.
- Added the class SuggestedPostApproved and the field suggested_post_approved to the class Message, describing a service message about the approval of a suggested post.
- Added the class SuggestedPostApprovalFailed and the field suggested_post_approval_failed to the class Message, describing a service message about the failed approval of a suggested post.
- Added the class SuggestedPostDeclined and the field suggested_post_declined to the class Message, describing a service message about the rejection of a suggested post.
- Added the class SuggestedPostPaid and the field suggested_post_paid to the class Message, describing a service message about a successful payment for a suggested post.
- Added the class SuggestedPostRefunded and the field suggested_post_refunded to the class Message, describing a service message about a payment refund for a suggested post.
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
⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api🔌 enhancementpr description: enhancementpr description: enhancement