You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
external-user-id actually returns the external user name - also this seems missing completely in v3's event.js. The external user ID makes this more useful on the receiving server end.
This seems transitional between 2.6 and 3 so I'm not sure if I should add a PR - but I have fixed mine with:
chatTemplate(messageObj)
...
"sender":{
"internal-user-id": body.msg.sender.id,
"external-user-id": UserMapping.getExternalUserID(body.msg.sender.id), //mw fix this to id instead of name above
"user-name": body.msg.sender.name, //and provide name separately
"timezone-offset": body.msg.fromTimezoneOffset,
"time": body.msg.timestamp
}
The text was updated successfully, but these errors were encountered:
In messageMapping.js:
external-user-id actually returns the external user name - also this seems missing completely in v3's event.js. The external user ID makes this more useful on the receiving server end.
This seems transitional between 2.6 and 3 so I'm not sure if I should add a PR - but I have fixed mine with:
The text was updated successfully, but these errors were encountered: