4.3.0
What's Changed
Update with pip:
pip3 install -U "pywa[server]"
- [filters] make
Filterclass generic - [signups] adding support for creating listing and updating signups
- [templates] add documentation and strict typing for
ContactInfoRequestButton - [message] deprecate
senderandrecipientproperties and update user identifier priority - [cli] move uvicorn import to runtime and improve error handling
- [errors] add more error codes for throttling, sending, and migration, and fix template error code
from pywa import WhatsApp, types, filters
wa = WhatsApp(...)
@wa.on_callback_button(filters.text) # Type checker will catch this error
def on_callback(_: WhatsApp, button: types.CallbackButton):
...Full Changelog: 4.2.0...4.3.0