Attachment
public struct Attachment : Codable, Equatable
Struct representing Message Attachment related values.
-
Value representing the entity id.
Declaration
Swift
public var id: Int -
The type of the message attachment.
Declaration
Swift
public var type: Message.Attachment.AttachmentType? -
The thumbnial url string of the message attachment.
Declaration
Swift
public var thumbnailUrl: String -
The image url string of the message attachment.
Declaration
Swift
public var imageUrl: String -
Undocumented
Declaration
Swift
public init(id: Int, type: Message.Attachment.AttachmentType, thumbnailUrl: String, imageUrl: String) -
Enumeration of Attachment Types
See moreDeclaration
Swift
public enum AttachmentType : Codable, Equatable -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Attachment Structure Reference