Pular para o conteúdo principal

TemplateLibraryResponse

data object[]
  • Array [
  • idstringnullable
    namestring

    Nome do item no catálogo.

    Example: delivery_update_1
    languagestringnullable
    categorystringnullable
    topicstringnullable
    Example: ORDER_MANAGEMENT
    usecasestringnullable
    Example: DELIVERY_UPDATE
    industrystring[]
    headerstringnullable
    bodystringnullable
    footerstringnullable
    body_paramsstring[]

    Exemplos das variáveis do corpo, na ordem — escritos pela Meta.

    buttonsobject[]

    Botões previstos pelo modelo. Os de URL e telefone pedem um valor em libraryTemplateButtonInputs na criação.

  • ]
  • paging object
    afterstringnullable

    Cursor da próxima página; null quando acabou.

    cachedboolean

    true quando a resposta veio do cache compartilhado.

    wabaIdstring
    TemplateLibraryResponse
    {
    "data": [
    {
    "id": "string",
    "name": "delivery_update_1",
    "language": "string",
    "category": "string",
    "topic": "ORDER_MANAGEMENT",
    "usecase": "DELIVERY_UPDATE",
    "industry": [
    "string"
    ],
    "header": "string",
    "body": "string",
    "footer": "string",
    "body_params": [
    "string"
    ],
    "buttons": [
    {}
    ]
    }
    ],
    "paging": {
    "after": "string"
    },
    "cached": true,
    "wabaId": "string"
    }