-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Labels
⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api
Description
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
⭐
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
- [FEATURE] API 7.4 #4275 to your PR and make sure to cover everything :)
- Please base your branch on the api-7.4 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/pythontelegrambotdev
Describe the solution you'd like
- Added support for payments in Telegram Stars by introducing the new currency “XTR”. (Taken by @harshil21)
- The parameter provider_token of the methods sendInvoice and createInvoiceLink must be omitted for payments in Telegram Stars. (Taken by @harshil21)
- The field provider_token in the class InputInvoiceMessageContent must be omitted for payments in Telegram Stars. (Taken by @harshil21)
- Added the method refundStarPayment. (Taken by @harshil21)
- Added the field effect_id to the class Message. (Taken by @harshil21)
- Added the parameter message_effect_id to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, and sendMediaGroup. (Taken by @harshil21)
- Added the field show_caption_above_media to the classes Message, InputMediaAnimation, InputMediaPhoto, InputMediaVideo, InlineQueryResultGif, InlineQueryResultMpeg4Gif, InlineQueryResultPhoto, InlineQueryResultVideo, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto, and InlineQueryResultCachedVideo. (Taken by @harshil21)
- Added the parameter show_caption_above_media to the methods sendAnimation, sendPhoto, sendVideo, copyMessage, and editMessageCaption. (Taken by @harshil21)
- Added support for “expandable_blockquote” entities in received messages.
- Added support for “expandable_blockquote” entity parsing in “MarkdownV2” and “HTML” parse modes.
- Allowed to explicitly specify “expandable_blockquote” entities in formatted texts.
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 to keep things in track and avoid double work.
rrr2rrr
Metadata
Metadata
Assignees
Labels
⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api