Account Update Filters#

Usefully filters to use in your handlers.

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