ZegoRoomSendTransparentMessage
ZegoRoomSendTransparentMessage
房间透传消息
详情
房间透传消息,包括房间id, 消息内容,发送用户,发送类型,发送模式,超时时间。
Declared in ZegoExpressDefines.h
属性
sendMode
sendType
content
content
nonatomic, strong NSData * content发送的内容
recvUserList
recvUserList
nonatomic, strong NSArray<ZegoUser *> * recvUserList消息接收者列表,当sendType 指定为ZegoRoomTransparentMessageModeOnlyServer 可不填。当指定为 ZegoRoomTransparentMessageModeClientAndServer 或 ZegoRoomTransparentMessageModeOnlyClient 时,为空将发送给房间所有在线用户。
timeOut
timeOut
nonatomic, assign int timeOut消息的发送超时时间,单位s, 默认10s。
