send File Message With Progress
fun BaseChannel.sendFileMessageWithProgress(params: FileMessageCreateParams): Flow<ProgressMessageResult<FileMessage>>
Deprecated
As of 4.17.0, replaced with sendFileMessageWithProgressFlow(params).
Replace with
sendFileMessageWithProgressFlow(params)
Content copied to clipboard
Sends a file with given file information.
ProgressMessageResult.Pending : Called once the resending file is requested
ProgressMessageResult.Progress : Called while the file is being uploaded
ProgressMessageResult.Completed : Called once the file has been sent
ProgressMessageResult.Failure : Called if the request failed
Return
The file message progress result
Since
4.15.0
Parameters
params
The parameters to send file message
See also
File Message Create Params