Open zxr90 opened 7 years ago
const createEvent = (eventName, value, address) => { var msg = new builder.Message().address(address); msg.data.type = "event"; msg.data.name = eventName; msg.data.value = value; return msg; }
From your example, i tried to use msg.data but this is a protected method in the Message Class. How do i send custom data from the bot to the webchat?
Any advise on this?
From your example, i tried to use msg.data but this is a protected method in the Message Class. How do i send custom data from the bot to the webchat?