This repository has been archived by the owner on Nov 11, 2022. It is now read-only.
Releases: AmanoTeam/amanobot
Releases · AmanoTeam/amanobot
v2.1.0
- Bot API 5.1
- See all bot API changes in https://core.telegram.org/bots/api#recent-changes.
v2.0.1
- Fixed a bug in download_file that prevented it from working in sync mode.
v2.0.0
- 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
Same as 1.8.0 but with a hotfix for for a bug that prevented the library from working.
v1.8.0
- Bot API 4.8
- Supported explanations for Quizzes 2.0. Add explanations by specifying the parameters
explanation
andexplanation_parse_mode
in the methodsendPoll
- 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 methodsendDice
- Added the fields
explanation
andexplanation_entities
to thePoll
object - Supported timed polls that automatically close at a certain date and time. Set up by specifying the parameter
open_period
orclose_date
in the methodsendPoll
- Added the fields
open_period
andclose_date
to thePoll
object - Added the missing
is_anonymous
field to thePoll
object
v1.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 theMessage
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 ofpng_sticker
in the methodcreateNewStickerSet
- Added the ability to add animated stickers to sets created by the bot by specifying the parameter
tgs_sticker
instead ofpng_sticker
in the methodaddStickerToSet
- Added the field
thumb
to theStickerSet
object - Added the ability to change thumbnails of sticker sets created by the bot using the method
setStickerSetThumb
v1.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 methodsendPoll
- Added the object
KeyboardButtonPollType
and the fieldrequest_poll
to the objectKeyboardButton
- Added the field
poll_answer
in theUpdate
object - Added the fields
total_voter_count
,is_anonymous
,type
,allows_multiple_answers
,correct_option_id
to thePoll
object - Bots can now send polls to private chats
- Added the fields
can_join_groups
,can_read_all_group_messages
andsupports_inline_queries
to theUser
object - Added the optional field
language
to theMessageEntity
object
v1.5.0
- Bot API 4.5
- Added the
setChatAdministratorCustomTitle
method - Added the
file_unique_id
field to the objectsAnimation
,Audio
,Document
,PassportFile
,PhotoSize
,Sticker
,Video
,VideoNote
,Voice
andFile
- Added the
small_file_unique_id
andbig_file_unique_id
fields to the objectChatPhoto
- Added the
slow_mode_delay
field to theChat
object - Added the
custom_title
field to theChatMember
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 theparse_mode
parameter
v1.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)
v1.4.4
- 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