send File Message
Sends a file with given file information.
Return
FileMessage
instance with request ID.
Since
3.0.52
Parameters
params
Params of file message. Refer to FileMessageCreateParams.
handler
Callback handler.
fun sendFileMessage(params: FileMessageCreateParams, handler: FileMessageWithProgressHandler?): FileMessage?
Sends a file with given file information and gets callback for uploading progress.
Return
FileMessage
instance with request ID.
Since
3.0.52
Parameters
params
Params of file message. Refer to FileMessageCreateParams.
handler
Callback handler.