FileMessageData

class FileMessageData : MessageData

Message data for sending a file message in a conversation. The file is uploaded to the server before the message is sent.

  • The local URI of the file to upload.

    Declaration

    Swift

    let fileUri: URL
  • An optional display name for the file. If nil, the file name is derived from the URI.

    Declaration

    Swift

    var fileName: String?