- Notifications
You must be signed in to change notification settings - Fork5.7k
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 theapi-7.4 branch
- If this is your first contribution, please be sure to read thecontribution guide and feel free to reach out with any questions viahttps://t.me/pythontelegrambotdev
Describe the solution you'd like
- Added support for payments inTelegram Stars by introducing the new currency “XTR”. (Taken by@harshil21)
- The parameter provider_token of the methodssendInvoice andcreateInvoiceLink must be omitted for payments inTelegram Stars. (Taken by@harshil21)
- The field provider_token in the classInputInvoiceMessageContent must be omitted for payments inTelegram Stars. (Taken by@harshil21)
- Added the methodrefundStarPayment. (Taken by@harshil21)
- Added the field effect_id to the classMessage. (Taken by@harshil21)
- Added the parameter message_effect_id to the methodssendMessage,sendPhoto,sendVideo,sendAnimation,sendAudio,sendDocument,sendSticker,sendVideoNote,sendVoice,sendLocation,sendVenue,sendContact,sendPoll,sendDice,sendInvoice,sendGame, andsendMediaGroup. (Taken by@harshil21)
- Added the field show_caption_above_media to the classesMessage,InputMediaAnimation,InputMediaPhoto,InputMediaVideo,InlineQueryResultGif,InlineQueryResultMpeg4Gif,InlineQueryResultPhoto,InlineQueryResultVideo,InlineQueryResultCachedGif,InlineQueryResultCachedMpeg4Gif,InlineQueryResultCachedPhoto, andInlineQueryResultCachedVideo. (Taken by@harshil21)
- Added the parameter show_caption_above_media to the methodssendAnimation,sendPhoto,sendVideo,copyMessage, andeditMessageCaption. (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 theContribution Guide.
Additional context
Please comment below before start working on any part of the update to keep things in track and avoid double work.