swImSend 向设备发送文件 参数


属性 类型 描述 功能
targetid String 消息接收者PUID或者User id 共用
msgitems MsgItem[] 会议消息数组
该字段用于区分,向设备发送文件 还是 向设备或者用户发送消息
发送消息
filepath String 文件路径 向设备发送文件
callback {options: EventOptions, response: jSWProtocol.Response} 调用接口的回调函数 共用
pcallback {options: EventOptions, response: jSWProtocol.Response,data: OptionNotifyFileTrans} 通知上传进度的回调 共用
tag Object 用户数据 共用