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 ads text message #1236

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

WABP: incoming ads text message #1236

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

Comments

@nbartels
Copy link
Contributor

nbartels commented Jul 3, 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": [
              {
                "referral": {
                  "source_url": "AD_OR_POST_FB_URL",
                  "source_id": "ADID",
                  "source_type": "ad or post",
                  "headline": "AD_TITLE",
                  "body": "AD_DESCRIPTION",
                  "media_type": "image or video",
                  "image_url": "RAW_IMAGE_URL",
                  "video_url": "RAW_VIDEO_URL",
                  "thumbnail_url": "RAW_THUMBNAIL_URL",
                },
                "from": "491234567890",
                "id": "wamid.HBgNNDkxNTIwOTgzMzMGDHEVFEJHFCIYFDNBMUNCMzAwRTQ5RDBDRUE4NzJDAA==",
                "timestamp": "1653318440",
                "type": "text",
                "text": {
                  "body": "BODY"
                }
              }
            ]
          },
          "field": "messages"
        }
      ]
    }
  ]
}
@nbartels nbartels changed the title WABP: incoming ads message WABP: incoming ads text message Jul 3, 2022
@nbartels nbartels self-assigned this Jul 3, 2022
@nbartels nbartels added this to the 2022.8.0 milestone Jul 3, 2022
nbartels added a commit that referenced this issue Jul 4, 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