Others#

class pywa.types.others.BusinessProfile#

Represents a business profile.

Variables:
  • about (str) – This text appears in the business’s profile, beneath its profile image, phone number, and contact buttons.

  • address (str | None) – Address of the business. Character limit 256.

  • description (str | None) – Description of the business. Character limit 512.

  • email (str | None) – The contact email address (in valid email format) of the business. Character limit 128.

  • industry (pywa.types.others.Industry) – The industry of the business.

  • profile_picture_url (str | None) – URL of the profile picture that was uploaded to Meta.

  • websites (tuple[str] | None) – The URLs associated with the business. For instance, a website, Facebook Page, or Instagram. There is a maximum of 2 websites with a maximum of 256 characters each.

class pywa.types.others.CommerceSettings#

Represents the WhatsApp commerce settings.

Variables:
  • catalog_id (str) – The ID of the catalog associated with the business.

  • is_catalog_visible (bool) – Whether the catalog is visible to customers.

  • is_cart_enabled (bool) – Whether the cart is enabled.

class pywa.types.others.Industry#

Represents the industry of a business.

Variables:
  • UNDEFINED – Undefined.

  • OTHER – Other.

  • AUTO – Automotive.

  • BEAUTY – Beauty.

  • APPAREL – Apparel.

  • EDU – Education.

  • ENTERTAIN – Entertainment.

  • EVENT_PLAN – Event planning.

  • FINANCE – Finance.

  • GROCERY – Grocery store.

  • GOVT – Government.

  • HOTEL – Hotel.

  • HEALTH – Health.

  • NONPROFIT – Nonprofit.

  • PROF_SERVICES – Professional services.

  • RETAIL – Retail.

  • TRAVEL – Travel.

  • RESTAURANT – Restaurant.

  • NOT_A_BIZ – Not a business.