Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WABP: incoming system message #1237

Closed
nbartels opened this issue Jul 4, 2022 · 0 comments
Closed

WABP: incoming system message #1237

nbartels opened this issue Jul 4, 2022 · 0 comments
Assignees
Milestone

Comments

@nbartels
Copy link
Contributor

nbartels commented Jul 4, 2022

{
  "object": "whatsapp_business_account",
  "entry": [
    {
      "id": "101809759215303",
      "changes": [
        {
          "value": {
            "messaging_product": "whatsapp",
            "metadata": {
              "display_phone_number": "123456789",
              "phone_number_id": "1063423435420583"
            },
            "contacts": [
              {
                "profile": {
                  "name": "TestUser"
                },
                "wa_id": "491234567890"
              }
            ],
            "messages": [
              {
                "from": "491234567890",
                "id": "wamid.HBgNNDkxNTIwOTgzMzMGDHEVFEJHFCIYFDNBMUNCMzAwRTQ5RDBDRUE4NzJDAA==",
                "timestamp": "1653318440",
                "type": "system",
                "system": {
                    "body": "NAME changed from PHONE_NUMBER to PHONE_NUMBER",
                    "new_wa_id": NEW_PHONE_NUMBER,
                    "type": "user_changed_number"
                  },
              }
            ]
          },
          "field": "messages"
        }
      ]
    }
  ]
}
@nbartels nbartels added this to the 2022.8.0 milestone Jul 4, 2022
@nbartels nbartels self-assigned this Jul 4, 2022
nbartels added a commit that referenced this issue Jul 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant