Опубликовано 28 мая 2024 г. 21:11 by Xadmin просмотров: 230
- Added support for payments in Telegram Stars by introducing the new currency “XTR”.
- The parameter provider_token of the methods sendInvoice and createInvoiceLink must be omitted for payments in Telegram Stars.
- The field provider_token in the class InputInvoiceMessageContent must be omitted for payments in Telegram Stars.
- Added the method refundStarPayment.
- Added the field effect_id to the class Message.
- 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.
- Added the field show_caption_above_media to the classes Message, InputMediaAnimation, InputMediaPhoto, InputMediaVideo, InlineQueryResultGif, InlineQueryResultMpeg4Gif, InlineQueryResultPhoto, InlineQueryResultVideo, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto, and InlineQueryResultCachedVideo.
- Added the parameter show_caption_above_media to the methods sendAnimation, sendPhoto, sendVideo, copyMessage, and editMessageCaption.
- 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.