dian9图问题直播间聊天列表优化

This commit is contained in:
18401019693
2022-10-11 17:26:49 +08:00
parent 7e35cc8e3c
commit 447f8537f1
11 changed files with 162 additions and 7 deletions

View File

@@ -166,6 +166,7 @@ public class Constants {
public static final String SOCKET_HOUR = "SendHourChart";//小时榜更新
public static final String RECOMMEND_CARD_NOTIFY = "recommendCardNotify";//推荐卡通知消息
public static final String STAR_CHALLENGE_UPDATE = "starChallengeUpdate";//星级助力
public static final String AI_AUTOMATIC_SPEECH = "aiAutomaticSpeech";//机器人助手
//游戏socket
public static final String SOCKET_GAME_ZJH = "startGame";//炸金花

View File

@@ -0,0 +1,81 @@
package com.yunbao.common.bean;
import com.google.gson.annotations.SerializedName;
/**
* 机器人助手IM消息
*/
public class AiAutomaticSpeechModel extends BaseModel {
//助手名字颜色
@SerializedName("name_color")
private String nameColor;
//助手名字
@SerializedName("ai_name")
private String aiName;
//说话内容
@SerializedName("content")
private String content;
//被@用户名字
@SerializedName("user_name")
private String userName;
//标签图片
@SerializedName("icon")
private String icon;
//气泡背景
@SerializedName("system_bubble")
private String systemBubble;
public String getNameColor() {
return nameColor;
}
public AiAutomaticSpeechModel setNameColor(String nameColor) {
this.nameColor = nameColor;
return this;
}
public String getAiName() {
return aiName;
}
public AiAutomaticSpeechModel setAiName(String aiName) {
this.aiName = aiName;
return this;
}
public String getContent() {
return content;
}
public AiAutomaticSpeechModel setContent(String content) {
this.content = content;
return this;
}
public String getUserName() {
return userName;
}
public AiAutomaticSpeechModel setUserName(String userName) {
this.userName = userName;
return this;
}
public String getIcon() {
return icon;
}
public AiAutomaticSpeechModel setIcon(String icon) {
this.icon = icon;
return this;
}
public String getSystemBubble() {
return systemBubble;
}
public AiAutomaticSpeechModel setSystemBubble(String systemBubble) {
this.systemBubble = systemBubble;
return this;
}
}