Skip to content
Last updated

With Sinch Chat, it's possible to provide your conversation metadata. Here's an example:

SinchSdk.Chat.setConversationMetadata({
  once: {
    'userName': 'John'
  },
  eachMessage: {
    'phoneNumber': '123 123 123',
    'website': 'www.example.com'
  }
});

The metadata stored as once will be sent only once at the beginning of the conversation, while eachMessage metadata will be attached to each message.