Skip to content

v1.1.1

Choose a tag to compare

@tb-sourse tb-sourse released this 12 Nov 16:16
· 84 commits to master since this release

Added:

  • New classes for working with files: FSInputFile, BufferedInputFile, URLInputFile. More details can be found in the documentation.
  • Support for displaying message history display_history = True when adding a user to a group chat or channel.
  • Support for request and event for:
  • Ability to send files with a caption.
  • Shortcut .save_to_favorites() for quickly saving a message to the "Favorites" chat.
  • The asynchronous property await bot.me, which returns the chat_id of the "Saved Messages" chat.

Fixed:

  • Stickers sent via bot.send_sticker() were displayed with a background due to an incorrect MIME type.
  • The method .remove_participant_from_chat() did not work when an incomplete TrueConf ID was specified.
  • Error unpacking the participant list due to an incorrect alias.
  • Sometimes, when obtaining a token using .from_credentials(), a 400 Bad Requests error would occur when using a digit password.

Modified:

  • The bot.server_name property has become asynchronous. Use it as await bot.server_name.