-
Notifications
You must be signed in to change notification settings - Fork 2
chatroom_def.chatroom_def.ChatRoomMessage
chatroom_def/chatroom_def.ChatRoomMessage
- room_id_
- from_id_
- timetag_
- from_client_type_
- from_nick_
- from_avatar_
- from_ext_
- third_party_callback_ext_
- notify_tags_
- anti_spam_res_
- msg_type_
- msg_attach_
- client_msg_id_
- msg_body_
- msg_setting_
- sub_type_
- local_res_path_
- local_res_id_
• Optional
room_id_: number
消息所属的聊天室id,服务器填写,发送方不需要填写
ts/chatroom_def/chatroom_def.ts:237
• Optional
from_id_: string
消息发送者的账号,服务器填写,发送方不需要填写
ts/chatroom_def/chatroom_def.ts:239
• Optional
timetag_: number
消息发送的时间戳(毫秒),服务器填写,发送方不需要填写
ts/chatroom_def/chatroom_def.ts:241
• Optional
from_client_type_: NIMChatRoomClientType
消息发送方客户端类型,服务器填写,发送方不需要填写
ts/chatroom_def/chatroom_def.ts:243
• Optional
from_nick_: string
发送方昵称,服务器填写,发送方不需要填写
ts/chatroom_def/chatroom_def.ts:245
• Optional
from_avatar_: string
发送方头像,服务器填写,发送方不需要填写
ts/chatroom_def/chatroom_def.ts:247
• Optional
from_ext_: string
发送方身份扩展字段,服务器填写,发送方不需要填写
ts/chatroom_def/chatroom_def.ts:249
• Optional
third_party_callback_ext_: string
第三方回调回来的自定义扩展字段
ts/chatroom_def/chatroom_def.ts:251
• Optional
notify_tags_: string
对端发送消息或通知时携带的 notify tags 信息
ts/chatroom_def/chatroom_def.ts:253
• Optional
anti_spam_res_: string
String, 易盾反垃圾返回的结果字段
ts/chatroom_def/chatroom_def.ts:255
• Optional
msg_type_: NIMChatRoomMsgType
消息类型
ts/chatroom_def/chatroom_def.ts:257
• Optional
msg_attach_: string
消息内容,长度限制2048,json结构, 文本消息和其他消息保持一致
ts/chatroom_def/chatroom_def.ts:259
• Optional
client_msg_id_: string
客户端消息id
ts/chatroom_def/chatroom_def.ts:261
• Optional
msg_body_: string
文本消息内容(聊天室机器人文本消息)
ts/chatroom_def/chatroom_def.ts:263
• Optional
msg_setting_: ChatRoomMessageSetting
消息属性设置
ts/chatroom_def/chatroom_def.ts:265
• Optional
sub_type_: number
消息的子类型,客户端定义,服务器透传
ts/chatroom_def/chatroom_def.ts:267
• Optional
local_res_path_: string
媒体文件本地绝对路径(客户端)
ts/chatroom_def/chatroom_def.ts:269
• Optional
local_res_id_: string
媒体文件ID(客户端)
ts/chatroom_def/chatroom_def.ts:271
- chatroom/chatroom
- chatroom_def/chatroom_def
- nim/client
- nim/data_sync
- nim/friend
- nim/global
- nim/msglog
- nim/nos
- nim/online_session
- nim/pass_through_proxy
- nim/plugin
- nim/session
- nim/subscribe_event
- nim/super_team
- nim/sysmsg
- nim/talk
- nim/talkex
- nim/team
- nim/tool
- nim/user
- nim_def/client_def
- nim_def/data_sync_def
- nim_def/doc_trans_def
- nim_def/friend_def
- nim_def/global_def
- nim_def/msglog_def
- nim_def/nos_def
- nim_def/online_session_def
- nim_def/pass_through_proxy_def
- nim_def/plugin_def
- nim_def/session_def
- nim_def/subscribe_event_def
- nim_def/super_team_def
- nim_def/sysmsg_def
- nim_def/talk_def
- nim_def/talkex_def
- nim_def/team_def
- nim_def/tool_def
- nim_def/user_def
- node-nim
- qchat/attachment
- qchat/channel
- qchat/channel_category
- qchat/instance
- qchat/message
- qchat/role
- qchat/server
- qchat/system_notification
- qchat_def/attachment_def
- qchat_def/channel_def
- qchat_def/instance_def
- qchat_def/message_def
- qchat_def/public_def
- qchat_def/role_def
- qchat_def/server_def
- qchat_def/system_notification_def