Template API object

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

The components of the template

language: Language

The language of the template

name: string

The name of the template

Methods

  • OTP Template generator

    Parameters

    • name: string

      Name of the template

    • language: string | Language

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

    • code: string

      The one time password to be sent

    Returns Template

    A Template object for the API

Generated using TypeDoc