Documentation released under the MIT license (see LICENSE)
Changelog of botogram 0.6.x¶
Here you can find all the changes in the botogram 0.6.x release.
botogram 0.6.1¶
Alpha release, not yet released.
Release description not yet written.
Bug fixes¶
- Fixed
botogram.Permissions.save()
method
botogram 0.6¶
Alpha release, not yet released.
Since this version the original author and the main maintener Pietro Albini left the project to Matteo Bocci and Marco Aceti.
We decided to move to a new PyPi package: botogram2. botogram is now deprecated and no longer maintained.
To upgrade to the new version, you can issue those commands:
/path/to/python3 -m pip uninstall botogram
/path/to/python3 -m pip install botogram2
We also moved to a new website botogram.dev with a new, fresh domain.
Old website botogram.pietroalbini.org is now deprecated and no longer maintaned.
New features¶
- Added support for text formatting in media captions
- New argument
syntax
inbotogram.Chat.send_photo()
- New argument
syntax
inbotogram.Chat.send_audio()
- New argument
syntax
inbotogram.Chat.send_file()
- New argument
syntax
inbotogram.Chat.send_video()
- New argument
syntax
inbotogram.Chat.send_voice()
- New argument
syntax
inbotogram.User.send_photo()
- New argument
syntax
inbotogram.User.send_audio()
- New argument
syntax
inbotogram.User.send_file()
- New argument
syntax
inbotogram.User.send_video()
- New argument
syntax
inbotogram.User.send_voice()
- New argument
syntax
inbotogram.Message.reply_with_photo()
- New argument
syntax
inbotogram.Message.reply_with_audio()
- New argument
syntax
inbotogram.Message.reply_with_file()
- New argument
syntax
inbotogram.Message.reply_with_video()
- New argument
syntax
inbotogram.Message.reply_with_voice()
- New argument
syntax
inbotogram.Message.edit_caption()
- New argument
- Added support for more administrator tools
- New
botogram.Permissions
class - New attribute
botogram.Chat.permissions
- New attribute
botogram.Chat.all_members_are_administrators
- New attribute
botogram.Chat.description
- New attribute
botogram.Chat.pinned_message
- New attribute
botogram.Chat.sticker_set_name
- New attribute
botogram.Chat.can_set_sticker_set
- New method
botogram.Chat.kick()
- New method
botogram.Chat.permissions()
- New method
botogram.Chat.set_description()
- New method
botogram.Chat.pin_message()
- New method
botogram.Chat.unpin_message()
- New
- New class
botogram.User
attributes - Added support for sending stickers by ID or URL
- New arguments
path
,file_id
andurl
inbotogram.Chat.send_sticker()
- New arguments
path
,file_id
andurl
inbotogram.User.send_sticker()
- New arguments
- Added support for albums
- New class
botogram.Album
- New method
botogram.Chat.send_album()
- New method
botogram.User.send_album()
- New method
botogram.Message.reply_with_album()
- New class
- Added support for pinned messages
- New method
botogram.Chat.pin_message()
- New method
botogram.Chat.unpin_message()
- New method
- Added support for video streaming
- New argument
streaming
inbotogram.Chat.send_video()
- New argument
streaming
inbotogram.User.send_video()
- New argument
streaming
inbotogram.Message.reply_with_video()
- New argument
- Added support for invite links:
- New attribute
botogram.Chat.invite_link
- New method
botogram.Chat.revoke_invite_link()
- New attribute
- Added support for video notes:
- New class
botogram.VideoNote
- New attribute
botogram.Message.video_note
- New method
botogram.Chat.send_video_note()
- New method
botogram.User.send_video_note()
- New method
botogram.Message.reply_with_video_note()
- New class
- New argument
attach
inbotogram.Bot.edit_message()
- New argument
attach
inbotogram.Bot.edit_caption()
- Renamed attribute
botogram.Message.message_id
tobotogram.Message.id
Deprecated features¶
Deprecated features will be removed in botogram 1.0!
- The attribute
botogram.Message.message_id
is now deprecated - The
sticker
parameter inbotogram.Chat.send_sticker()
andbotogram.User.send_sticker()
is now deprecated