NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
v2::V2NIMMessagePushConfig结构体 参考

#include <v2_nim_def_struct.hpp>

Public 属性

bool pushEnabled {true}
 是否需要推送消息
 
bool pushNickEnabled {true}
 是否需要推送消息发送者昵称
 
nstd::string pushContent
 推送文本
 
nstd::string pushPayload
 推送数据
 
bool forcePush {false}
 是否强制推送, 忽略用户提醒相关设置
 
nstd::string forcePushContent
 强制推送文案
 
nstd::vector< nstd::stringforcePushAccountIds
 强制推送目标账号列表
 

类成员变量说明

◆ forcePush

bool v2::V2NIMMessagePushConfig::forcePush {false}

是否强制推送, 忽略用户提醒相关设置

◆ forcePushAccountIds

nstd::vector<nstd::string> v2::V2NIMMessagePushConfig::forcePushAccountIds

强制推送目标账号列表

◆ forcePushContent

nstd::string v2::V2NIMMessagePushConfig::forcePushContent

强制推送文案

◆ pushContent

nstd::string v2::V2NIMMessagePushConfig::pushContent

推送文本

◆ pushEnabled

bool v2::V2NIMMessagePushConfig::pushEnabled {true}

是否需要推送消息

◆ pushNickEnabled

bool v2::V2NIMMessagePushConfig::pushNickEnabled {true}

是否需要推送消息发送者昵称

◆ pushPayload

nstd::string v2::V2NIMMessagePushConfig::pushPayload

推送数据


该结构体的文档由以下文件生成: