fresh-window-29408
08/18/2023, 8:54 AMacceptable-kangaroo-64719
08/18/2023, 10:44 AM==
in your expressions. But you're on the right track with event.channel
fresh-window-29408
08/18/2023, 10:54 AMfresh-window-29408
08/18/2023, 1:05 PMacceptable-kangaroo-64719
08/18/2023, 2:18 PMfresh-window-29408
08/18/2023, 5:39 PMhttps://cdn.discordapp.com/attachments/1142018643136364566/1142150887901499583/WhatsApp_Image_2023-08-18_at_19.29.52.jpeg▾
fresh-window-29408
08/24/2023, 8:38 AMacceptable-kangaroo-64719
08/24/2023, 10:18 AMfamous-zoo-73118
08/24/2023, 2:33 PMfamous-zoo-73118
08/24/2023, 2:35 PMevent.tags.user['whatsapp:userId']
tag is defined, event.tags.user['webchat:id']
for webchat, or event.tags.user['messenger:id']
for Messenger.famous-zoo-73118
08/24/2023, 2:36 PMintegration.definition.ts
file of our integrations which are open source and located here: https://github.com/botpress/botpress/tree/master/integrationsfamous-zoo-73118
08/24/2023, 2:37 PMuser.tags
node in the integration definition, which will list the tags available, which you can access through event.tags.user
, the key is the integration name (defined at the top of the integration definition in the name
property) followed by a colon and then followed by the tag name itself.famous-zoo-73118
08/24/2023, 2:37 PMhttps://cdn.discordapp.com/attachments/1142018643136364566/1144279416919306381/image.png▾
fresh-window-29408
08/25/2023, 6:14 AMfamous-needle-62969
04/29/2024, 2:30 PMfamous-zoo-73118
04/30/2024, 2:33 AMevent.integration
, which will contain a value like webchat
, whatsapp
, messenger
, etc. Note that event.channel
is to be used to know the channel of the integration that the message is occurring on, for example "thread" or "dm" in the case of the Slack integration, "pullRequest", "discussion", or "issue" in the case of the Github integration, or "channel" in the case of the default/main channel of all integrations.famous-needle-62969
05/02/2024, 8:40 AM