ChatMessageBuilder

class ChatMessageBuilder

Initializers

Instance Properties

  • attachments Array of attachments to this message
  • direction Direction of this message
  • encryption Information about the encryption used by the sender of this message.
  • lang Language code for the body text
  • linkMetadata Metadata about links associated with this message
  • localId The ID as set by the creator of this message
  • o
  • replyToMessage Message this one is in reply to, or NULL
  • senderId The ID of the message sender
  • serverId The ID as set by the authoritative server
  • serverIdBy The ID of the server which set the serverId
  • status Status of this message
  • statusText Human readable text to go with the status
  • text Body text of this message or NULL
  • threadId ID of the thread this message is in, or NULL
  • timestamp The timestamp of this message, in format YYYY-MM-DDThh:mm:ss[.sss]+00:00
  • type The type of this message (Chat, Call, etc)
  • versions Array of past versions of this message, if it has been edited

Instance Methods