Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Releases: AmanoTeam/amanobot

v2.1.0

15 Jun 04:50
979ec1c
Compare
Choose a tag to compare

v2.0.1

30 Dec 02:53
d796599
Compare
Choose a tag to compare
  • Fixed a bug in download_file that prevented it from working in sync mode.

v2.0.0

06 Nov 02:55
d5eae01
Compare
Choose a tag to compare
  • Bot API 5.0 additions (Some things may be missing or broken, please report)
  • Added the api_endpoint parameter to the Bot class to allow setting custom API endpoint instead of https://api.telegram.org
  • Initial typing hint support, not yet complete
  • Bump aiohttp to 3.7.2 and urllib3 to 1.25.11
  • Dropped Python support below 3.5.3 and their compatibility hacks

v1.8.1

11 Jun 11:48
904d682
Compare
Choose a tag to compare

Same as 1.8.0 but with a hotfix for for a bug that prevented the library from working.

v1.8.0

26 Apr 08:00
837d0c6
Compare
Choose a tag to compare
  • Bot API 4.8
  • Supported explanations for Quizzes 2.0. Add explanations by specifying the parameters explanation and explanation_parse_mode in the method sendPoll
  • Supported the new darts animation for the dice mini-game. Choose between the default dice animation and darts animation by specifying the parameter emoji in the method sendDice
  • Added the fields explanation and explanation_entities to the Poll object
  • Supported timed polls that automatically close at a certain date and time. Set up by specifying the parameter open_period or close_date in the method sendPoll
  • Added the fields open_period and close_date to the Poll object
  • Added the missing is_anonymous field to the Poll object

v1.7.0

30 Mar 18:31
9d7e000
Compare
Choose a tag to compare
  • 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

v1.6.0

23 Jan 16:13
9d7e000
Compare
Choose a tag to compare
  • 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

v1.5.0

31 Dec 20:30
9d7e000
Compare
Choose a tag to compare
  • 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

v1.4.5

31 Dec 20:29
7e2c212
Compare
Choose a tag to compare
  • 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)

v1.4.4

14 Nov 01:52
c65b707
Compare
Choose a tag to compare
  • Added support for the thumb parameter in media Senders (sendAudio, sendDocument, etc)
  • Added support for media editing using the editMessageMedia method

Note: This is a reupload of the v1.4.3 release with a hotfix for asyncio variant