Message

public struct Message

The struct of a Message on Cisco Spark.

Since

1.2.0
  • id

    The identifier of this message.

    Declaration

    Swift

    public var id: String? { get }
  • The identifier of the room where this message was posted.

    Declaration

    Swift

    public var roomId: String? { get }
  • The room type group/direct

    Declaration

    Swift

    public var roomType: RoomType { get }
  • The identifier of the person who sent this message.

    Declaration

    Swift

    public var personId: String? { get }
  • The email address of the person who sent this message.

    Declaration

    Swift

    public var personEmail: String? { get }
  • The identifier of the recipient when sending a private 1:1 message.

    Declaration

    Swift

    public var toPersonId: String? { get }
  • The email address of the recipient when sending a private 1:1 message.

    Declaration

    Swift

    public var toPersonEmail: EmailAddress? { get }
  • The timestamp that the message being created.

    Declaration

    Swift

    public var created: Date? { get }
  • Returns true if the user included in message’s mention list

    Since

    1.4.0

    Declaration

    Swift

    public var isSelfMentioned: Bool { get }
  • The content of the message.

    Declaration

    Swift

    public var text: String? { get }
  • A array of the attachments in the message.

    Since

    1.4.0

    Declaration

    Swift

    public var files: [RemoteFile]? { get }
  • Json format descrition of message.

    Since

    1.4.0

    Declaration

    Swift

    public var description: String { get }