List of Changes⚓︎
1.1.1⚓︎
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 = Truewhen adding a user to a group chat or channel. - Support for request and event for:
- role changes in a group chat or channel (request, notification);
- creation of the “Favorites” chat (request, notification).
- 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 thechat_idof 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(), a400 Bad Requestserror would occur when using a digit password.
Modified:
- The
bot.server_nameproperty has become asynchronous. Use it asawait bot.server_name.
1.0.0⚓︎
🎉 First Release!
- Stable version of the python-trueconf-bot library.
- Support for all major TrueConf ChatBot API methods.
- Aliases and keyboard shortcuts in the aiogram style (message.answer, message.reply, etc.).
- Asynchronous data transmission via the WebSocket protocol.
- Working with files (sending and uploading).
- Documentation: trueconf.github.io/python-trueconf-bot/
- PyPI: pypi.org/project/python-trueconf-bot/