diff --git a/CHANGELOG.md b/CHANGELOG.md index 934a8b8..575a625 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ # CHANGELOG + +## _v5.7_ +Added support for Video Stickers. +Added the field is_video to the classes Sticker and StickerSet. +Added the parameter webm_sticker to the methods createNewStickerSet and addStickerToSet. + + ## _v5.6_ - Improved support for Protected Content. - Added the parameter protect_content to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup, copyMessage, forwardMessage to allow sending messages with protected content to any chat. diff --git a/README.md b/README.md index aafb6f7..02dc6c2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The Ultimate [Telegram Bot API](https://core.telegram.org/bots/api) Client Framework [![GPLv2 license](https://img.shields.io/badge/LICENSE-GPLv2-red)](https://github.com/ma24th/tgbotapi/blob/master/LICENSE) -[![PyPI](https://img.shields.io/badge/PyPI-v5.6-yellow.svg)](https://pypi.org/project/tgbotapi/) +[![PyPI](https://img.shields.io/badge/PyPI-v5.7-yellow.svg)](https://pypi.org/project/tgbotapi/) ![Python package](https://github.com/MA24th/tgbotapi/workflows/Python%20package/badge.svg) ![Upload Python Package](https://github.com/MA24th/tgbotapi/workflows/Upload%20Python%20Package/badge.svg) @@ -103,12 +103,10 @@ bot.polling() To start the bot, simply open up a terminal and enter `python echo_bot.py` to run the bot! Test it by sending commands ('/start' and '/help') and arbitrary text messages. ### ChangeLog -**_version 5.6_** -- Improved support for Protected Content. -- Added the parameter protect_content to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup, copyMessage, forwardMessage to allow sending messages with protected content to any chat. -- Added support for spoiler entities, which will work in Telegram versions released after December 30, 2021. Older clients will display unsupported message. -- Added new MessageEntity type “spoiler”. -- Added the ability to specify spoiler entities using HTML and MarkdownV2 formatting options. +**_version 5.7_** +Added support for Video Stickers. +Added the field is_video to the classes Sticker and StickerSet. +Added the parameter webm_sticker to the methods createNewStickerSet and addStickerToSet. **_Fixes_** - No Issues until Now diff --git a/SECURITY.md b/SECURITY.md index 6f022c2..801adb3 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -16,6 +16,7 @@ | > 5.4 | :white_check_mark: | | > 5.5 | :white_check_mark: | | > 5.6 | :white_check_mark: | +| > 5.7 | :white_check_mark: | ## Reporting a Vulnerability diff --git a/docs/index.md b/docs/index.md index aafb6f7..02dc6c2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,7 +3,7 @@ The Ultimate [Telegram Bot API](https://core.telegram.org/bots/api) Client Framework [![GPLv2 license](https://img.shields.io/badge/LICENSE-GPLv2-red)](https://github.com/ma24th/tgbotapi/blob/master/LICENSE) -[![PyPI](https://img.shields.io/badge/PyPI-v5.6-yellow.svg)](https://pypi.org/project/tgbotapi/) +[![PyPI](https://img.shields.io/badge/PyPI-v5.7-yellow.svg)](https://pypi.org/project/tgbotapi/) ![Python package](https://github.com/MA24th/tgbotapi/workflows/Python%20package/badge.svg) ![Upload Python Package](https://github.com/MA24th/tgbotapi/workflows/Upload%20Python%20Package/badge.svg) @@ -103,12 +103,10 @@ bot.polling() To start the bot, simply open up a terminal and enter `python echo_bot.py` to run the bot! Test it by sending commands ('/start' and '/help') and arbitrary text messages. ### ChangeLog -**_version 5.6_** -- Improved support for Protected Content. -- Added the parameter protect_content to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup, copyMessage, forwardMessage to allow sending messages with protected content to any chat. -- Added support for spoiler entities, which will work in Telegram versions released after December 30, 2021. Older clients will display unsupported message. -- Added new MessageEntity type “spoiler”. -- Added the ability to specify spoiler entities using HTML and MarkdownV2 formatting options. +**_version 5.7_** +Added support for Video Stickers. +Added the field is_video to the classes Sticker and StickerSet. +Added the parameter webm_sticker to the methods createNewStickerSet and addStickerToSet. **_Fixes_** - No Issues until Now diff --git a/setup.py b/setup.py index eb53d54..84d940a 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ def read(filename): setup(name='tgbotapi', - version='5.6', + version='5.7', description='The Ultimate Telegram Bot API Client Framework', long_description=read('README.rst'), long_description_content_type="text/x-rst",