mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
33 lines
1.8 KiB
ReStructuredText
33 lines
1.8 KiB
ReStructuredText
Added full support of `Bot API 7.11 <https://core.telegram.org/bots/api-changelog#october-31-2024>`_
|
|
|
|
- Added the class :class:`aiogram.types.copy_text_button.CopyTextButton`
|
|
and the field :code:`copy_text` in the class
|
|
:class:`aiogram.types.inline_keyboard_button.InlineKeyboardButton`,
|
|
allowing bots to send and receive inline buttons that copy arbitrary text.
|
|
- Added the parameter :code:`allow_paid_broadcast` to the methods
|
|
:class:`aiogram.methods.send_message.SendMessage`,
|
|
:class:`aiogram.methods.send_photo.SendPhoto`,
|
|
:class:`aiogram.methods.send_video.SendVideo`,
|
|
:class:`aiogram.methods.send_animation.SendAnimation`,
|
|
:class:`aiogram.methods.send_audio.SendAudio`,
|
|
:class:`aiogram.methods.send_document.SendDocument`,
|
|
:class:`aiogram.methods.send_paid_media.SendPaidMedia`,
|
|
:class:`aiogram.methods.send_sticker.SendSticker`,
|
|
:class:`aiogram.methods.send_video_note.SendVideoNote`,
|
|
:class:`aiogram.methods.send_voice.SendVoice`,
|
|
:class:`aiogram.methods.send_location.SendLocation`,
|
|
:class:`aiogram.methods.send_venue.SendVenue`,
|
|
:class:`aiogram.methods.send_contact.SendContact`,
|
|
:class:`aiogram.methods.send_poll.SendPoll`,
|
|
:class:`aiogram.methods.send_dice.SendDice`,
|
|
:class:`aiogram.methods.send_invoice.SendInvoice`,
|
|
:class:`aiogram.methods.send_game.SendGame`,
|
|
:class:`aiogram.methods.send_media_group.SendMediaGroup`
|
|
and :class:`aiogram.methods.copy_message.CopyMessage`.
|
|
- Added the class
|
|
:class:`aiogram.types.transaction_partner_telegram_api.TransactionPartnerTelegramApi`
|
|
for transactions related to paid broadcasted messages.
|
|
- Introduced the ability to add media to existing text messages using the method
|
|
:class:`aiogram.methods.edit_message_media.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.
|