Skip to content

4.0.0b4

Pre-release
Pre-release

Choose a tag to compare

@david-lev david-lev released this 11 Apr 19:42
· 205 commits to dev since this release
22edc3c

What's Changed

Update with pip: pip install -U pywa --pre
Updated Docs: pywa.readthedocs.io/en/dev/

Caution

Make sure to read the migration guide before updating to this version!

  • [client] update webhook_fields type to support utils.WebhookFields and enhance handling logic
  • [client] replace business_account_id with waba_id across the codebase
  • [client] add methods to retrieve shared and owned WABAs
  • [message] add OutgoingMessage, OutgoingEditedMessage and OutgoingDeletedMessage classes for message updates
  • [message] add EditedMessage and DeletedMessage classes for message updates
  • [contacts] add ContactList class for shared contacts handling
  • [media] store caption inside media objects
  • [groups] add GroupOperation class and update group-related methods to return operation responses
  • [callback] update VoiceCallButton to support timedelta for ttl_minutes
  • [errors] add raw error field and new group/template error classes

Full Changelog: 4.0.0b3...4.0.0b4