NIM PC Cross Platform SDK
|
#include <v2_nim_def_struct.hpp>
V2NIMMessageAntispamConfig v2::V2NIMChatroomMessage::antispamConfig |
反垃圾相关配置
nstd::shared_ptr<V2NIMMessageAttachment> v2::V2NIMChatroomMessage::attachment |
消息附属附件
V2NIMMessageAttachmentUploadState v2::V2NIMChatroomMessage::attachmentUploadState {V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_UNKNOWN} |
附件上传状态
nstd::optional<nstd::string> v2::V2NIMChatroomMessage::callbackExtension |
第三方扩展字段
uint64_t v2::V2NIMChatroomMessage::createTime {0} |
消息时间, 单位毫秒
nstd::optional<V2NIMLocationInfo> v2::V2NIMChatroomMessage::locationInfo |
消息空间坐标信息配置
nstd::string v2::V2NIMChatroomMessage::messageClientId |
客户端消息 ID
V2NIMChatroomMessageConfig v2::V2NIMChatroomMessage::messageConfig |
聊天室消息配置
V2NIMMessageType v2::V2NIMChatroomMessage::messageType {V2NIM_MESSAGE_TYPE_TEXT} |
消息类型
nstd::string v2::V2NIMChatroomMessage::notifyTargetTags |
消息的目标标签表达式
nstd::string v2::V2NIMChatroomMessage::roomId |
聊天室 ID
V2NIMMessageRouteConfig v2::V2NIMChatroomMessage::routeConfig |
路由抄送相关配置
V2NIMLoginClientType v2::V2NIMChatroomMessage::senderClientType {V2NIM_LOGIN_CLIENT_TYPE_UNKNOWN} |
消息发送方客户端类型
nstd::string v2::V2NIMChatroomMessage::senderId |
消息发送者账号
V2NIMMessageSendingState v2::V2NIMChatroomMessage::sendingState {V2NIM_MESSAGE_SENDING_STATE_UNKNOWN} |
消息发送状态
nstd::optional<nstd::string> v2::V2NIMChatroomMessage::serverExtension |
服务端扩展
uint32_t v2::V2NIMChatroomMessage::subType {0} |
消息子类型
nstd::string v2::V2NIMChatroomMessage::text |
消息内容
V2NIMUserInfoConfig v2::V2NIMChatroomMessage::userInfoConfig |
消息发送时的用户信息