KUSChatAttachment

KUSChatAttachment Class reference for Kustomer Chat iOS Core API .

A file, image, or video attachment sent with a KUSChatMessage. Belongs to a single KUSConversation and KUSChatMessage.

public class KUSChatAttachment : CustomStringConvertible

id

public var id: String

conversationId

public var conversationId: String?

fileExtension

public var fileExtension: String?

url

URL used to download the attached file

public var url: String?

name

File name of attachment

public var name: String?

chatMessageId

Chat message ID of parent message.

Do not rely on there being a KUSChatMessage with this ID. Ok to rely on this being valid on the server side after the attachment has finished uploading and sending.

public var chatMessageId: String?

CustomStringConvertible

description

public var description: String { get }