Message

public struct Message : Codable, Equatable

Struct representing Message related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • Messsage’s title.

    Declaration

    Swift

    public var title: String
  • Message’s content.

    Declaration

    Swift

    public var text: String
  • Message’s description.

    Declaration

    Swift

    public var desc: String
  • The date the message is sent.

    Declaration

    Swift

    public var dateSent: String
  • Message’s attachment.

    Declaration

    Swift

    public var attachment: Message.Attachment?
  • Undocumented

    Declaration

    Swift

    public init(id: Int, title: String, text: String,
                desc: String, dateSent: String, attachment: Message.Attachment?)
  • Struct representing Message Attachment related values.

    See more

    Declaration

    Swift

    public struct Attachment : Codable, Equatable
  • Enumeration of Message actions.

    See more

    Declaration

    Swift

    public enum Action : String
  • Declaration

    Swift

    public init(from decoder: Decoder) throws