whatsapp-api-js - v5.2.0
    Preparing search index...

    Class Language

    Language API object

    Index

    Constructors

    Properties

    Constructors

    • Create a Language component for a Template message

      Parameters

      • code: string

        The code of the language or locale to use. Accepts both language and language_locale formats (e.g., en and en_US).

      • policy: "deterministic" = "deterministic"

        The language policy the message should follow. The only supported option is 'deterministic'.

      Returns Language

    Properties

    code: string

    The code of the language or locale to use. Accepts both language and language_locale formats (e.g., en and en_US).

    policy: "deterministic"

    The language policy