bulky-dusk-45106
06/27/2023, 1:56 PMconsole.log(event.tags)
which is where I expect to see the user's informations.
This is what I get (I changed the ids for privacy but the format are the same):
message: { 'teams:id': 'f:8ea7c01e-e9ec-e444-5555-d3c82c572709' },
conversation: { 'teams:id': 'a:2bpxBRZN3Ex3riQiyw7s-2v1rWhBFfUHMHcF0GA12PtBejP501CvqZRMhVF473SSck8tIfxxaSFSWtmEqcXVjxWkQue2AweUrIBq2Ctrwk34ZFUXV30GdNUMiYSkzkT_Z' },
user: { 'teams:id': '29:1Ql8QosLVXslSMBIO8KARDeiqrZr1xVO_OnzS39cqh3_yEc1gWyiPg-doEq3x2Xa4tZ7ngaD05i5C69olEIxBEg' } }
I tried every requests under the sun with those IDs on Graph API, but the format is incorrect (actual Graph IDs are much shorter and not in this format either)
Yet it does say teams:id
and it is returned by Teams to Botpress.
I am wondering if those are encrypted ?
Anyways, does anybody have an idea on how to do that ?
Also, it would be nice to know how Botpress and Teams are communicating, there must be the user's id exchanged at some point no ?
Thanks in advance !rich-battery-69172
06/27/2023, 1:59 PMrich-battery-69172
06/27/2023, 2:02 PMrich-battery-69172
06/27/2023, 2:03 PMevent.tags.user
from in the studio (probably event.tags.user['teams:id']
)bulky-dusk-45106
06/27/2023, 2:26 PMbulky-dusk-45106
06/27/2023, 2:39 PMteams:id': '29:1Ql8QosLVXslSMBIO8KARDeiqrZr1xVO_OnzS39cqh8_yEc1gWyiPg-doEq3x9Xa4tZ7ngaD05i5C88olEIxBEg'
Which isn't a user id, or maybe it is but encrypted.
I admit that the source code didn't help me much sadly.strong-bear-19626
02/19/2024, 7:29 AM