Closed freewebwithme closed 3 years ago
How can I check event name from Channel.messages? Message has event property but can't do something like this
Message
event
if(message.event == "new_order")
You can do:
if (message.event.value == 'foo') { }
oh nice! Thank you!
No problem! If you have more questions, feel free to ask them through the discussion section!
How can I check event name from Channel.messages?
Message
hasevent
property but can't do something like this