createAttachmentUploadDescription method

Future<ChatMessageAttachmentUploadDescription?> createAttachmentUploadDescription(
  1. String fileName
)

Creates a description for uploading an attachment.

Implementation

_i2.Future<_i3.ChatMessageAttachmentUploadDescription?>
    createAttachmentUploadDescription(String fileName) => caller
            .callServerEndpoint<_i3.ChatMessageAttachmentUploadDescription?>(
          'serverpod_chat.chat',
          'createAttachmentUploadDescription',
          {'fileName': fileName},
        );