mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 7.11 (#1601)
* Added full support of Bot API 7.11 * Small fixes * Added changelog
This commit is contained in:
parent
4531c3628c
commit
405bbcc36f
165 changed files with 1619 additions and 573 deletions
33
CHANGES/1601.feature.rst
Normal file
33
CHANGES/1601.feature.rst
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue