Account Update Filters#

Usefully filters to use in your handlers.

>>> from pywa import filters as fil
>>> from pywa import WhatsApp, types
>>> wa = WhatsApp(...)
>>> @wa.on_message(fil.text.command("start"))
... def on_hi_msg(_: WhatsApp, m: types.Message):
...     print("This is a welcome message!")
filters.account_deleted = <pywa.filters.account_deleted object>#
filters.account_restriction = <pywa.filters.account_restriction object>#
filters.account_violation = <pywa.filters.account_violation object>#
filters.ad_account_linked = <pywa.filters.ad_account_linked object>#
filters.auth_intl_price_eligibility_update = <pywa.filters.auth_intl_price_eligibility_update object>#
filters.business_primary_location_country_update = <pywa.filters.business_primary_location_country_update object>#
filters.account_disabled = <pywa.filters.account_disabled object>#
filters.partner_added = <pywa.filters.partner_added object>#
filters.partner_app_installed = <pywa.filters.partner_app_installed object>#
filters.partner_app_uninstalled = <pywa.filters.partner_app_uninstalled object>#
filters.partner_client_certification_status_update = <pywa.filters.partner_client_certification_status_update object>#
filters.partner_removed = <pywa.filters.partner_removed object>#
filters.volume_based_pricing_tier_update = <pywa.filters.volume_based_pricing_tier_update object>#
filters.account_offboarded = <pywa.filters.account_offboarded object>#
filters.account_reconnected = <pywa.filters.account_reconnected object>#