Changelog of botogram 0.4.x¶
Here you can find all the changes in the botogram 0.4.x releases.
botogram 0.4.1¶
Alpha release, not yet released.
Release description not yet written.
Bug fixes¶
- Accounts deleted by inactivity incorrectly raised an APIError instead of a ChatUnavailableError
botogram 0.4¶
Alpha release, not yet released.
botogram 0.4 is the fourth alpha release of botogram. It adds support for buttons and a few new APIs added in the meantime by Telegram. It also includes big performance improvements and a few deprecations to keep the API clean.
New features¶
- Added support for buttons and callbacks
- New attribute
botogram.Bot.validate_callback_signatures
- New class
botogram.Buttons
- New class
botogram.ButtonsRow
- New class
botogram.CallbackQuery
- New decorator
botogram.Bot.callback()
- New method
botogram.Component.add_callback()
- New attribute
- Added support for receiving messages sent to channels
- New decorator
botogram.Bot.channel_post()
- New decorator
botogram.Bot.channel_post_edited()
- New method
botogram.Component.add_channel_post_hook()
- New method
botogram.Component.add_channel_post_edited_hook()
- New decorator
- Added ability to disable the link preview in
/help
.- New parameter
botogram.Bot.link_preview_in_help
- New parameter
- Added ability to reorder commands in
/help
.- New argument
order
inbotogram.Bot.command()
- New argument
order
inbotogram.Component.add_command()
- New argument
- Added ability to delete messages
- New method
botogram.User.delete_message()
- New method
botogram.Chat.delete_message()
- New method
botogram.Message.delete()
- New method
- Added the
attach
argument to all the send methods.- New argument
attach
on multiple methods ofbotogram.User
- New argument
attach
on multiple methods ofbotogram.Chat
- New argument
attach
on multiple methods ofbotogram.Message
- New argument
- Added ability to edit message attachments
- New method
botogram.Message.edit_attach()
- New method
- Added new attributes on the
Message
object:- New attribute
botogram.Message.channel_post_author
- New attribute
botogram.Message.forward_from_message_id
- New attribute
Performance improvements¶
- botogram now tries to reuse existing connections to Telegram when possible
Bug fixes¶
- Fix inability to fetch updates and stop the runner after an internet connection outage.
- Fix
botogram.Message.forward_from
giving wrong information with signed channel posts (issue 80)
Deprecated features¶
Deprecated features will be removed in botogram 1.0!
- The
extra
attribute on all the send methods is now deprecated