Module "scripts/sendMessage"
Functions
Const sendMessage
- sendMessage(args: { message: string; roomId: string; timestamp: Date | string | number }): void
-
Parameters
-
args: { message: string; roomId: string; timestamp: Date | string | number }
-
message: string
-
roomId: string
-
timestamp: Date | string | number
Returns void
sendMessage Send user message to chat room.
messagesent
messagefailed
https://docs.livelike.com/docs/web-custom-analytics
sendMessage({message: 'Test message', roomId: 'c1f6082c-f7b9-4d1e-b64e-9071a3860ffc'})