1 package com.netease.nimlib.sdk.msg.model;
3 import java.io.Serializable;
12 private List<String> forcePushList = null;
14 private String forcePushContent = null;
33 return forcePushContent;
54 isForcePush = forcePush;
63 this.forcePushList = forcePushList;
72 this.forcePushContent = forcePushContent;
void setForcePush(boolean forcePush)
设置是否强推(可扩展为区别于普通推送的推送形式),针对forcePushList里的帐号,false为不强推,true为强推...
void setForcePushContent(String forcePushContent)
强推文案(可扩展为区别与普通推送的推送文案),目前限制为500字以内
指定成员推送相关可选项 配置后发送消息,如果遇到414,说明客户端提交参数(forcePushList)格式有误;811说...
String getForcePushContent()
返回强制推送的文案
boolean isForcePush()
返回是否强制推送
List< String > getForcePushList()
返回强制推送的账号列表
void setForcePushList(List< String > forcePushList)
设置强推列表(可扩展为区别于普通推送的推送帐号列表),填null表示强推给该会话所有成员,不为null时最大...