Skip to content

Releases: ExpressApp/pybotx

0.22.1 (Aug 25, 2021)

25 Aug 09:26
Compare
Choose a tag to compare

Added

  • Add embed_mentions argument in from_message method.

Fixed

  • Fix EMBED_MENTION_RE expression

0.22.0 (Aug 19, 2021)

23 Aug 08:19
371b631
Compare
Choose a tag to compare

Tested on BotX 1.44.0-rc2

Added

  • Sending and handling internal bot notifications.

0.21.3 (Aug 23, 2021)

23 Aug 06:47
832c257
Compare
Choose a tag to compare

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)

03 Aug 09:17
036a844
Compare
Choose a tag to compare

Fixed

  • File is now serializing when sending message.

0.21.1 (Jul 28, 2021)

28 Jul 09:34
71eedab
Compare
Choose a tag to compare

Fixed

  • Make the body attribute of Reply event optional.
  • Add AttachmentMeta model to Reply event instead of Attachments.

0.21.0 (Jul 23, 2021)

23 Jul 13:41
97e0962
Compare
Choose a tag to compare

Tested on BotX 1.42.0-rc4

Fixed

  • Remove Dict[str, Any] from type of error_data field of BotDisabledResponse,
    now it can only be BotDisabledErrorData.

0.20.4 (Jul 23, 2021)

23 Jul 09:41
b26da86
Compare
Choose a tag to compare

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)

19 Jul 15:56
b3843ad
Compare
Choose a tag to compare

Added

  • Add bot not found error handler for Token method.
  • Add invalid bot credentials error handler for Token method.
  • Add connection error handler for all BotX methods.
  • Add JSON decoding error handler for all BotX methods.

0.20.0 (Jul 08, 2021)

08 Jul 08:10
Compare
Choose a tag to compare

Tested on BotX 1.42.0-rc4

Added

  • Add method for retrieving list of bot's chats
  • Add inserted_at field to ChatFromSearch model

Changed

  • HTTPRequest & HTTPResponse moved to clients.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 updated
  • Bot_id is now displayed in the request
  • Add description for BotXAPIError