Skip to main content
Emitted when an info message is successfully sent during a call via sendInfo().

Category

Info Message

Callback Parameters

ParameterTypeDescription
textstringThe text content of the sent message.
dataRecord<string, any>The key-value data included with the message.

Example

client.on('infoSent', (text, data) => {
  console.log('Info message sent:', text, data);
});

More Information