ChatMessage

The UserMessage struct represents the user message.

  • id

    The unique identifer of the message

  • The unique id of the message’s sender

  • The nickname of the message’s sender

  • The message after it has been filtered.

  • The reason(s) why a message was filtered.

  • Has the message been filtered.

  • The text component of the message

  • The URL of the message’s image component

  • The CGSize of the message’s image component

  • The customData string of a custom message

  • The timestamp of when this message was created

  • The TimeToken of when this message was created. Used for getMessages and getMessageCount methods of ContentSession

  • True if the current user is the message’s sender