Skip to content

Conversation

@telepath-companion
Copy link

Bot API 7.11

WARNING! Starting December 1, 2024 messages with video that are sent, copied or forwarded to groups and channels with a sufficiently large audience can be automatically scheduled by the server until the respective video is reencoded. Such messages will have 0 as their message identifier and can't be used before they are actually sent.
[~]

@telepath-companion telepath-companion bot added auto-generated Reflects auto-generated code changes bot api Telegram Bot API related WTD Enable What The Diff comments labels Oct 31, 2024
@telepath-companion telepath-companion bot requested a review from TiiFuchs October 31, 2024 15:40
@what-the-diff
Copy link

what-the-diff bot commented Oct 31, 2024

📝 PR Summary

  • We have a new Copy-Paste button! 📋✨
    We made a new button. It's called 'CopyTextButton'. When you press it, it copies specified text right to your clipboard. No more long pressing to copy your text!

  • We've jazzed up our KeyboardButton! 🎵🎹
    We have updated our 'InlineKeyboardButton' class. The plus point is, it now has a brand new 'copy_text' feature that pairs up with our new button. The make method now also includes this additional 'copy_text' feature.

  • We're saying things better! 📢👥
    We have updated the comments in our existing classes (MaybeInaccessibleMessage, MessageId, and Message) to explain more precisely how the message_id fields work under different circumstances.

  • Welcome to the payment gateway! 🏧📲
    A new class called TransactionPartnerTelegramApi has been added. This deals specifically with payments involving API requests related to Telegram.

  • New in Factory Outlet! 🏭😉
    We have updated the TransactionPartner factory method. Now, it can also produce instances of the new TransactionPartnerTelegramApi.

  • Explaining things better, again! 🔎✒️
    To be clear about when and why to use them, we've explained the type field in MessageEntity comments.

  • Changes to the RepliesToMessage trait! 💬⚙️
    Further changes include the addition of an optional parameter allow_paid_broadcast in the RepliesToMessage trait. This one's pretty nifty - it asks permission to go beyond the limit of broadcast messages if you're willing to pay a small fee. 😎💰

@TiiFuchs TiiFuchs merged commit 786ae78 into main Nov 12, 2024
@TiiFuchs TiiFuchs deleted the api-7.11 branch November 12, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-generated Reflects auto-generated code changes bot api Telegram Bot API related WTD Enable What The Diff comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants