send File Messages
fun sendFileMessages(paramsList: List<FileMessageCreateParams>, handler: FileMessagesHandler?): List<FileMessage>
Sends files with given files information. The maximum number of files is 20.
Return
List of FileMessage
instance with request ID.
Since
3.0.76
Parameters
params List
List of params of file message. Refer to FileMessageCreateParams.
handler
Callback handler.
fun sendFileMessages(paramsList: List<FileMessageCreateParams>, handler: FileMessagesWithProgressHandler?): List<FileMessage>
Sends files with given files information and gets callback for uploading progress. The maximum number of files is 20. This method handles FileMessageCreateParams only which have set binary file not URL.
Return
List of FileMessage
instance with request ID.
Since
3.0.76
Parameters
params List
List of params of file message. Refer to FileMessageCreateParams. Null is ignored
handler
Callback handler.