View source: R/ivschat_operations.R
ivschat_send_event | R Documentation |
Sends an event to a room. Use this within your application’s business logic to send events to clients of a room; e.g., to notify clients to change the way the chat UI is rendered.
See https://www.paws-r-sdk.com/docs/ivschat_send_event/ for full documentation.
ivschat_send_event(roomIdentifier, eventName, attributes = NULL)
roomIdentifier |
[required] Identifier of the room to which the event will be sent. Currently this must be an ARN. |
eventName |
[required] Application-defined name of the event to send to clients. |
attributes |
Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.