issues
search
TelegramBot
/
Api
Native PHP Wrapper for Telegram BOT API
MIT License
1.1k
stars
325
forks
source link
Support Bot API 7.4 (may 28, 2024)
#472
Open
bernard-ng
opened
5 months ago
bernard-ng
commented
5 months ago
[ ] 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
.
[x] 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
.
[x] Added support for “expandable_blockquote” entities in received messages.
[x] Added support for “expandable_blockquote” entity parsing in “MarkdownV2” and “HTML” parse modes.
[x] Allowed to explicitly specify “expandable_blockquote” entities in formatted texts.