Releases: ExpressApp/pybotx
Releases · ExpressApp/pybotx
0.22.1 (Aug 25, 2021)
Added
- Add
embed_mentions
argument infrom_message
method.
Fixed
- Fix
EMBED_MENTION_RE
expression
0.22.0 (Aug 19, 2021)
Tested on BotX 1.44.0-rc2
Added
- Sending and handling internal bot notifications.
0.21.3 (Aug 23, 2021)
Fixed
- Bot's method
authorize()
now not fall if cant take some tokens. Just logging and skip invalid credentials.
0.21.2 (Aug 3, 2021)
Fixed
File
is now serializing when sending message.
0.21.1 (Jul 28, 2021)
Fixed
- Make the
body
attribute ofReply
event optional. - Add
AttachmentMeta
model toReply
event instead ofAttachments
.
0.21.0 (Jul 23, 2021)
Tested on BotX 1.42.0-rc4
Fixed
- Remove
Dict[str, Any]
from type oferror_data
field ofBotDisabledResponse
,
now it can only beBotDisabledErrorData
.
0.20.4 (Jul 23, 2021)
0.20.4 (Jul 23, 2021)
Tested on BotX 1.42.0-rc4
Added
- Add possibility to send message that visible only in stealth mode.
- Add support for embed mentions (can be used anywhere in text).
Fixed
- Fix silent response by changing option location in method call.
0.20.3 (Jul 22, 2021)
Tested on BotX 1.42.0-rc4
Add
- Add possibility to create chats with enabled shared_history option (Bot.create_chat).
0.20.2 (Jul 22, 2021)
Tested on BotX 1.42.0-rc4
Changed
- Exceptions thrown in
exception_handler
are now logged.
0.20.1 (Jul 19, 2021)
Added
- Add
bot not found
error handler forToken
method. - Add
invalid bot credentials
error handler forToken
method. - Add
connection error
handler for all BotX methods. - Add
JSON decoding error
handler for all BotX methods.
0.20.0 (Jul 08, 2021)
Tested on BotX 1.42.0-rc4
Added
- Add method for retrieving list of bot's chats
- Add
inserted_at
field toChatFromSearch
model
Changed
HTTPRequest
&HTTPResponse
moved toclients.types
HTTPRequest
now work with JSON (dict) instead of bytes. It improves consistency with
HTTPResponse
and will be useful in interceptors implementation.- Reply event field
source_chat_name
is optional now - Forward event field
source_sync_id
is required now
Removed
HTTPResponse
bytes content property
Fixed
File
is now deleted when the message is updatedBot_id
is now displayed in the request- Add description for
BotXAPIError