Amanobot

Latest version: v2.1.0

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 11

1.7.0

- Bot API 4.7
- Added the method `sendDice` for sending a dice message, which will have a random value from 1 to 6
- Added the field `dice` to the `Message` object
- Added the method `getMyCommands` for getting the current list of the bot's commands
- Added the method `setMyCommands` for changing the list of the bot's commands through the Bot API instead of BotFather
- Added the ability to create animated sticker sets by specifying the parameter `tgs_sticker` instead of `png_sticker` in the method `createNewStickerSet`
- Added the ability to add animated stickers to sets created by the bot by specifying the parameter `tgs_sticker` instead of `png_sticker` in the method `addStickerToSet`
- Added the field `thumb` to the `StickerSet` object
- Added the ability to change thumbnails of sticker sets created by the bot using the method `setStickerSetThumb`

1.6.0

- Bot API 4.6
- Added the ability to send non-anonymous, multiple answer, and quiz-style polls: added the parameters `is_anonymous`, `type`, `allows_multiple_answers`, `correct_option_id`, `is_closed` options to the method `sendPoll`
- Added the object `KeyboardButtonPollType` and the field `request_poll` to the object `KeyboardButton`
- Added the field `poll_answer` in the `Update` object
- Added the fields `total_voter_count`, `is_anonymous`, `type`, `allows_multiple_answers`, `correct_option_id` to the `Poll` object
- Bots can now send polls to private chats
- Added the fields `can_join_groups`, `can_read_all_group_messages` and `supports_inline_queries` to the `User` object
- Added the optional field `language` to the `MessageEntity` object

1.5.0

- Bot API 4.5
- Added the `setChatAdministratorCustomTitle` method
- Added the `file_unique_id` field to the objects `Animation`, `Audio`, `Document`, `PassportFile`, `PhotoSize`, `Sticker`, `Video`, `VideoNote`, `Voice` and `File`
- Added the `small_file_unique_id` and `big_file_unique_id` fields to the object `ChatPhoto`
- Added the `slow_mode_delay` field to the `Chat` object
- Added the `custom_title` field to the `ChatMember` object
- Note: If you want to use the new entity fields (such as underlined and strikethrough text) in markdown, you need to pass `MarkdownV2` to the `parse_mode` parameter

1.4.5

- Add the `raise_errors` to the Bot class
- Require at least Python 3.5.3 for the asyncio variant (Fixes installation on Python 3.5.2)

1.4.4

- Hotfix for asyncio version failing to start

1.4.3

- Added support for the `thumb` parameter in media Senders (`sendAudio`, `sendDocument`, etc)
- Added support for media editing using the `editMessageMedia` method

Page 9 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.