ChatMessage

public struct ChatMessage

A ChatMessage represents a message in Stack Exchange chat.

  • The room in which this message was posted.

    Declaration

    Swift

    public let room: ChatRoom
  • The user who posted this message.

    Declaration

    Swift

    public let user: ChatUser
  • The content of this message.

    Declaration

    Swift

    public let content: String
  • id

    This message’s ID, or nil if it is not known.

    Declaration

    Swift

    public let id: Int?
  • The message that this message replied to, or nil if this message is not a reply.

    Declaration

    Swift

    public let replyID: Int?
  • Undocumented

    Declaration

    Swift

    public struct ChatMessage
  • Undocumented

    Declaration

    Swift

    public struct ChatMessage