Skip to content

Support Bot API 7.11 (October 31, 2024) #492

@bernard-ng

Description

@bernard-ng
  • Added the class CopyTextButton and the field copy_text in the class InlineKeyboardButton allowing bots to send and receive inline buttons that copy arbitrary text.
  • Added the parameter allow_paid_broadcast to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup and copyMessage.
  • Added the class TransactionPartnerTelegramApi for transactions related to paid broadcasted messages.
  • Introduced the ability to add media to existing text messages using the method editMessageMedia.
  • Added support for hashtag and cashtag entities with a specified chat username that opens a search for the relevant tag within the specified chat.

⚠️ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions