Changelog

v1.0.0

New Feautures

Other Changes

  • More throrough logging throughout update handling.

  • Add complete typehints to library.

  • Only message entity commands will be processed. Certain use-cases may break.

  • telegrampy.Chat.get_member() should return telegrampy.Member instead of telegrampy.User

  • Rename telegrampy.Client.user() to telegrampy.Client.get_me()

  • Rename telegrampy.Message.edit() to telegrampy.Message.edit_content()

  • Split telegrampy.Message.send() into telegrampy.Message.send_document() and telegrampy.Message.send_photo()

  • Remove telegrampy.Chat.history, telegrampy.Client.messages and telegrampy.Chat.fetch_message() because they go against the Telegram API design.

  • Remove telegrampy.Document and telegrampy.Photo as they are no longer needed with the new seperated send functions.

  • Remove telegrampy.TelegramObject in favor of more functional abstract base classes.

Bux Fixes

Considering that previous versions were incomplete and experimental, there are too many too list here. The vast majority of previously encountered bugs have been resolved in this version.

v0.3.1

New

  • Add command and command_completion events

  • Add a start method to Client

  • Add start alias for help command

Bug Fixes

  • Ignore commands directed at other bots (/command@OtherBot will not invoke @YourBot)

Other

  • Better logging

  • get_context is now async

  • Improvements with error messages

v0.3.0

New

  • Add a description attribute to Cog

  • Add a username attribute to Chat

  • Add a signature and clean_params to Command

  • Add converters

  • Raise CommandInvokeError when the command callback itself fails

  • Better BadArgument errors

  • Don’t show hidden commands in the help menu

Bug Fixes

  • Fix listeners not being added when a cog is loaded

  • Remove listeners properly when a cog is removed

  • Fix member and chat fetching raising 404 errors

  • Fix bug in help command

  • Don’t run the default command error handler if a command_error listener is registered

v0.2.0

New

  • Ratelimit and better error code handling

  • Message deleting and editing

Bug Fixes

  • Fix a few typos