From 27f423eccb7bce4281c5728e92713ded4058ca2e Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Wed, 1 May 2024 13:24:14 -0300 Subject: [PATCH] Update chapter-07-gbot-reference.md --- book/chapter-07-gbot-reference.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/book/chapter-07-gbot-reference.md b/book/chapter-07-gbot-reference.md index 588fd939..31d0147c 100644 --- a/book/chapter-07-gbot-reference.md +++ b/book/chapter-07-gbot-reference.md @@ -76,6 +76,29 @@ Note that this variables are available in every .gbdialog code, automatically. ### Move to production (Azure) * Update bot endpoint; +* + +### WhatsApp Procedures + +# Register PIN. + +https://graph.facebook.com/v18.0/999996037087713/ +{"pin" : "999999"} + +# Register Account. + +https://graph.facebook.com/v18.0/999997245497156/register +{ + "messaging_product": "whatsapp", "pin":999999 +} + +# Define message in profile. + +https://graph.facebook.com/v18.0/99999792462862/whatsapp_business_profile +{ +"messaging_product": "whatsapp", +"about": "Online" +} ## Bot Analytics