更新【私信】相关proto定义
This commit is contained in:
parent
cf998e8e73
commit
c7de91cb23
@ -35,7 +35,7 @@ service View {
|
|||||||
//https://app.bilibili.com/bilibili.app.view.v1.View/View
|
//https://app.bilibili.com/bilibili.app.view.v1.View/View
|
||||||
rpc view (ViewReq) returns (ViewReply);
|
rpc view (ViewReq) returns (ViewReply);
|
||||||
|
|
||||||
//视频播放时数据
|
//稿件特殊数据
|
||||||
//https://app.bilibili.com/bilibili.app.view.v1.View/ViewProgress
|
//https://app.bilibili.com/bilibili.app.view.v1.View/ViewProgress
|
||||||
rpc viewProgress (ViewProgressReq) returns (ViewProgressReply);
|
rpc viewProgress (ViewProgressReq) returns (ViewProgressReply);
|
||||||
}
|
}
|
||||||
@ -257,25 +257,26 @@ message ViewReply {
|
|||||||
//ugc视频合集信息
|
//ugc视频合集信息
|
||||||
UgcSeason ugcSeason = 24;
|
UgcSeason ugcSeason = 24;
|
||||||
|
|
||||||
//
|
//配置?
|
||||||
Config config = 25;
|
Config config = 25;
|
||||||
|
|
||||||
//
|
//分享副标题(已观看xxx次)
|
||||||
string shareSubtitle = 26;
|
string shareSubtitle = 26;
|
||||||
|
|
||||||
//
|
//
|
||||||
Interaction interaction = 27;
|
Interaction interaction = 27;
|
||||||
|
|
||||||
//
|
//错误码
|
||||||
|
//0:正常 1:视频被UP主删除
|
||||||
int32 ecode = 28;
|
int32 ecode = 28;
|
||||||
|
|
||||||
//
|
//404页信息
|
||||||
CustomConfig customConfig = 29;
|
CustomConfig customConfig = 29;
|
||||||
|
|
||||||
//广告
|
//广告
|
||||||
repeated CM cms = 30;
|
repeated CM cms = 30;
|
||||||
|
|
||||||
//
|
//广告配置?
|
||||||
CMConfig cmConfig = 31;
|
CMConfig cmConfig = 31;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -284,7 +285,7 @@ message ViewReply {
|
|||||||
//
|
//
|
||||||
Rank rank = 33;
|
Rank rank = 33;
|
||||||
|
|
||||||
//
|
//免流相关信息?
|
||||||
TFPanelCustomized tfPanelCustomized = 34;
|
TFPanelCustomized tfPanelCustomized = 34;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -297,7 +298,7 @@ message ViewReply {
|
|||||||
ActivitySeason activitySeason = 37;
|
ActivitySeason activitySeason = 37;
|
||||||
}
|
}
|
||||||
|
|
||||||
//视频播放时数据-请求
|
//稿件特殊数据-请求
|
||||||
message ViewProgressReq{
|
message ViewProgressReq{
|
||||||
//稿件avid
|
//稿件avid
|
||||||
int64 aid = 1;
|
int64 aid = 1;
|
||||||
@ -309,9 +310,9 @@ message ViewProgressReq{
|
|||||||
int64 upMid = 3;
|
int64 upMid = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//视频播放时数据-回复
|
//稿件特殊数据-回复
|
||||||
message ViewProgressReply{
|
message ViewProgressReply{
|
||||||
//特殊数据
|
//稿件特殊数据
|
||||||
VideoGuide videoGuide = 1;
|
VideoGuide videoGuide = 1;
|
||||||
|
|
||||||
//资源包
|
//资源包
|
||||||
@ -607,9 +608,9 @@ message CommandDm{
|
|||||||
string idStr = 10;
|
string idStr = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//配置?
|
||||||
message Config {
|
message Config {
|
||||||
//
|
//下方推荐项标题
|
||||||
string relatesTitle = 1;
|
string relatesTitle = 1;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -640,21 +641,22 @@ message ContractCard {
|
|||||||
int64 displayDuration = 3;
|
int64 displayDuration = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//404页信息
|
||||||
message CustomConfig {
|
message CustomConfig {
|
||||||
//
|
//重定向页面url
|
||||||
string redirectUrl = 1;
|
string redirectUrl = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//分P弹幕信息
|
||||||
message DM{
|
message DM{
|
||||||
//
|
//分P是否关闭弹幕
|
||||||
|
//0:正常 1:关闭
|
||||||
bool closed = 1;
|
bool closed = 1;
|
||||||
|
|
||||||
//
|
//
|
||||||
bool realName = 2;
|
bool realName = 2;
|
||||||
|
|
||||||
//
|
//分P弹幕总数
|
||||||
int64 count = 3;
|
int64 count = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -916,21 +918,21 @@ message OperationCard{
|
|||||||
string content = 7;
|
string content = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//内嵌操作按钮卡片
|
||||||
message OperationCardNew{
|
message OperationCardNew{
|
||||||
//
|
//卡片id
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
|
|
||||||
//
|
//显示时间
|
||||||
int32 from = 2;
|
int32 from = 2;
|
||||||
|
|
||||||
//
|
//消失时间
|
||||||
int32 to = 3;
|
int32 to = 3;
|
||||||
|
|
||||||
//
|
//
|
||||||
bool status = 4;
|
bool status = 4;
|
||||||
|
|
||||||
//
|
//卡片类型
|
||||||
OperationCardType cardType = 5;
|
OperationCardType cardType = 5;
|
||||||
|
|
||||||
oneof renderCase {
|
oneof renderCase {
|
||||||
@ -1117,7 +1119,7 @@ message Relate {
|
|||||||
//special:pgc视频 av:稿件视频 cm:广告 game:游戏
|
//special:pgc视频 av:稿件视频 cm:广告 game:游戏
|
||||||
string goto = 7;
|
string goto = 7;
|
||||||
|
|
||||||
//
|
//参数(如av号等)
|
||||||
string param = 8;
|
string param = 8;
|
||||||
|
|
||||||
//跳转uri
|
//跳转uri
|
||||||
@ -1132,7 +1134,8 @@ message Relate {
|
|||||||
//
|
//
|
||||||
string reserve = 12;
|
string reserve = 12;
|
||||||
|
|
||||||
//
|
//来源标识
|
||||||
|
//operation:管理员添加
|
||||||
string from = 13;
|
string from = 13;
|
||||||
|
|
||||||
//备注
|
//备注
|
||||||
@ -1165,7 +1168,7 @@ message Relate {
|
|||||||
//按钮信息
|
//按钮信息
|
||||||
Button button = 23;
|
Button button = 23;
|
||||||
|
|
||||||
//
|
//spm追踪id
|
||||||
string trackid = 24;
|
string trackid = 24;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1455,7 +1458,7 @@ message Tag {
|
|||||||
string uri = 7;
|
string uri = 7;
|
||||||
|
|
||||||
//TAG类型
|
//TAG类型
|
||||||
//common:普通 new:话题
|
//common:普通 new:话题 act:活动
|
||||||
string tagType = 8;
|
string tagType = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1582,7 +1585,7 @@ message VideoGuide{
|
|||||||
//
|
//
|
||||||
repeated OperationCard operationCard = 3;
|
repeated OperationCard operationCard = 3;
|
||||||
|
|
||||||
//
|
//内嵌操作按钮卡片
|
||||||
repeated OperationCardNew operationCardNew = 4;
|
repeated OperationCardNew operationCardNew = 4;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1597,7 +1600,7 @@ message ViewPage{
|
|||||||
//分P对应的音频稿件
|
//分P对应的音频稿件
|
||||||
Audio audio = 2;
|
Audio audio = 2;
|
||||||
|
|
||||||
//
|
//分P弹幕信息
|
||||||
DM dm =3;
|
DM dm =3;
|
||||||
|
|
||||||
//下载文案
|
//下载文案
|
||||||
|
|||||||
440
grpc_api/bilibili/im/interfaces/v1.proto
Normal file
440
grpc_api/bilibili/im/interfaces/v1.proto
Normal file
@ -0,0 +1,440 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
import "bilibili/im/type.proto";
|
||||||
|
|
||||||
|
package bilibili.im.interfaces.v1;
|
||||||
|
|
||||||
|
//私信
|
||||||
|
service ImInterface {
|
||||||
|
//未读私信数
|
||||||
|
rpc singleUnread (ReqSingleUnread) returns (RspSingleUnread);
|
||||||
|
|
||||||
|
//会话详情
|
||||||
|
rpc sessionDetail (ReqSessionDetail) returns (bilibili.im.type.SessionInfo);
|
||||||
|
|
||||||
|
//拉取会话记录列表
|
||||||
|
rpc getSessions (ReqGetSessions) returns (RspSessions);
|
||||||
|
|
||||||
|
//拉取最近私信分享列表
|
||||||
|
rpc shareList (ReqShareList) returns (RspShareList);
|
||||||
|
|
||||||
|
//发送消息
|
||||||
|
rpc sendMsg (ReqSendMsg) returns (RspSendMsg);
|
||||||
|
|
||||||
|
//删除会话记录
|
||||||
|
rpc removeSession (ReqRemoveSession) returns (DummyRsp);
|
||||||
|
|
||||||
|
//置顶聊天
|
||||||
|
rpc setTop (ReqSetTop) returns (DummyRsp);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc ackAssisMsg (ReqAckAssisMsg) returns (DummyRsp);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc ackSessions (ReqAckSessions) returns (RspSessions);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc batchRmSessions (ReqBatRmSess) returns (DummyRsp);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc batchSessDetail (ReqSessionDetails) returns (RspSessionDetails);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc getSpecificSessions (ReqGetSpecificSessions) returns (RspSessions);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc groupAssisMsg (ReqGroupAssisMsg) returns (RspSessionMsg);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc myGroupUnread (DummyReq) returns (RspMyGroupUnread);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc newSessions (ReqNewSessions) returns (RspSessions);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc specificSingleUnread (ReqSpecificSingleUnread) returns (RspSpecificSingleUnread);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc syncAck (ReqSyncAck) returns (RspSyncAck);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc syncFetchSessionMsgs (ReqSessionMsg) returns (RspSessionMsg);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc syncRelation (ReqRelationSync) returns (RspRelationSync);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc updateAck (ReqUpdateAck) returns (DummyRsp);
|
||||||
|
|
||||||
|
//
|
||||||
|
rpc updateUnflwRead (DummyReq) returns (DummyRsp);
|
||||||
|
}
|
||||||
|
|
||||||
|
//发送消息-请求
|
||||||
|
message ReqSendMsg {
|
||||||
|
//
|
||||||
|
bilibili.im.type.Msg msg = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
string cookie = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
string cookie2 = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 errorCode = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
string devId = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//发送消息-回复
|
||||||
|
message RspSendMsg {
|
||||||
|
//
|
||||||
|
uint64 msgKey = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
repeated EmotionInfo eInfos = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
string msgContent = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message DummyReq {
|
||||||
|
//
|
||||||
|
uint32 idl = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-回复
|
||||||
|
message DummyRsp {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqAckAssisMsg {
|
||||||
|
//
|
||||||
|
uint64 ackSeqno = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqAckSessions {
|
||||||
|
//
|
||||||
|
uint64 beginTs = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 endTs = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 size = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqBatRmSess {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//拉取会话记录列表-请求
|
||||||
|
message ReqGetSessions {
|
||||||
|
//
|
||||||
|
uint64 beginTs = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 endTs = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 size = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sessionType = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 unfollowFold = 5;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 groupFold = 6;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sortRule = 7;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 teenagerMode = 8;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 lessonsMode = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
//拉取会话记录列表-回复
|
||||||
|
message RspSessions {
|
||||||
|
//
|
||||||
|
repeated bilibili.im.type.SessionInfo sessionList = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 hasMore = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
bool antiDisturbCleaning = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 isAddressListEmpty = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqGetSpecificSessions {
|
||||||
|
//
|
||||||
|
repeated SimpleSession talkerSessions = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqGroupAssisMsg {
|
||||||
|
//
|
||||||
|
uint64 clientSeqno = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 size = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqNewSessions {
|
||||||
|
//
|
||||||
|
uint64 beginTs = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 size = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 teenagerMode = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 lessonsMode = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqRelationSync {
|
||||||
|
//
|
||||||
|
uint64 clientRelationOplogSeqno = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//删除会话记录-请求
|
||||||
|
message ReqRemoveSession {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sessionType = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//会话详情-请求
|
||||||
|
message ReqSessionDetail {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sessionType = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 uid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqSessionDetails {
|
||||||
|
//
|
||||||
|
repeated ReqSessionDetail sessIds = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqSessionMsg {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 sessionType = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 endSeqno = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 beginSeqno = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 size = 5;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 order = 6;
|
||||||
|
|
||||||
|
//
|
||||||
|
string devId = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
//置顶聊天-请求
|
||||||
|
message ReqSetTop {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sessionType = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 opType = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//拉取最近私信分享列表-请求
|
||||||
|
message ReqShareList {
|
||||||
|
//
|
||||||
|
int32 size = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//拉取最近私信分享列表-回复
|
||||||
|
message RspShareList {
|
||||||
|
//最近会话列表
|
||||||
|
repeated ShareSessionInfo sessionList = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 isAddressListEmpty = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//未读私信数-请求
|
||||||
|
message ReqSingleUnread {
|
||||||
|
//
|
||||||
|
uint32 unreadType = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 showUnfollowList = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//未读私信数-回复
|
||||||
|
message RspSingleUnread {
|
||||||
|
//未关注用户私信数
|
||||||
|
uint64 unfollowUnread = 1;
|
||||||
|
|
||||||
|
//已关注用户私信数
|
||||||
|
uint64 followUnread = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 unfollowPushMsg = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqSpecificSingleUnread {
|
||||||
|
//
|
||||||
|
repeated SimpleSession talkerSessions = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqSyncAck {
|
||||||
|
//
|
||||||
|
uint64 clientSeqno = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-请求
|
||||||
|
message ReqUpdateAck {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sessionType = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 ackSeqno = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-回复
|
||||||
|
message RspMyGroupUnread {
|
||||||
|
//
|
||||||
|
uint32 unreadCount = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-回复
|
||||||
|
message RspRelationSync {
|
||||||
|
//
|
||||||
|
int32 full = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
repeated bilibili.im.type.RelationLog relationLogs = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
repeated bilibili.im.type.FriendRelation friendList = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 serverRelationOplogSeqno = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
repeated bilibili.im.type.GroupRelation groupList = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-回复
|
||||||
|
message RspSessionDetails {
|
||||||
|
//
|
||||||
|
repeated bilibili.im.type.SessionInfo sessInfos = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-回复
|
||||||
|
message RspSessionMsg {
|
||||||
|
//
|
||||||
|
repeated bilibili.im.type.Msg messages = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 hasMore = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 minSeqno = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 maxSeqno = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
repeated EmotionInfo eInfos = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-回复
|
||||||
|
message RspSpecificSingleUnread {
|
||||||
|
//
|
||||||
|
map <uint64,uint64> talkerUnreadCnt = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 allUnreadCnt = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-回复
|
||||||
|
message RspSyncAck {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//会话信息,用于私信分享
|
||||||
|
message ShareSessionInfo {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
string talkerUname = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
string talkerIcon = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 officialType = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message SimpleSession {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sessionType = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message EmotionInfo {
|
||||||
|
//
|
||||||
|
string text = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
string url = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 size = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
string gifUrl = 4;
|
||||||
|
}
|
||||||
244
grpc_api/bilibili/im/type.proto
Normal file
244
grpc_api/bilibili/im/type.proto
Normal file
@ -0,0 +1,244 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bilibili.im.type;
|
||||||
|
|
||||||
|
//消息类型
|
||||||
|
enum MsgType {
|
||||||
|
//基础消息类型
|
||||||
|
EN_INVALID_MSG_TYPE = 0; //空空的~
|
||||||
|
EN_MSG_TYPE_TEXT = 1; //文本消息
|
||||||
|
EN_MSG_TYPE_PIC = 2; //图片消息
|
||||||
|
EN_MSG_TYPE_AUDIO = 3; //语音消息
|
||||||
|
EN_MSG_TYPE_SHARE = 4; //分享消息
|
||||||
|
EN_MSG_TYPE_DRAW_BACK = 5; //撤回消息
|
||||||
|
EN_MSG_TYPE_CUSTOM_FACE = 6; //自定义表情
|
||||||
|
EN_MSG_TYPE_SHARE_V2 = 7; //分享v2消息
|
||||||
|
EN_MSG_TYPE_SYS_CANCEL = 8; //系统撤销
|
||||||
|
EN_MSG_TYPE_MINI_PROGRAM = 9; //小程序
|
||||||
|
//扩展消息类型
|
||||||
|
EN_MSG_TYPE_NOTIFY_MSG = 10; //业务通知
|
||||||
|
EN_MSG_TYPE_VIDEO_CARD = 11; //视频卡片
|
||||||
|
EN_MSG_TYPE_ARTICLE_CARD = 12; //专栏卡片
|
||||||
|
EN_MSG_TYPE_PICTURE_CARD = 13; //图片卡
|
||||||
|
EN_MSG_TYPE_COMMON_SHARE_CARD = 14; //异形卡
|
||||||
|
EN_MSG_TYPE_BIZ_MSG_TYPE = 50; //
|
||||||
|
//功能类系统消息类型
|
||||||
|
EN_MSG_TYPE_GROUP_MEMBER_CHANGED = 101; //群成员变更
|
||||||
|
EN_MSG_TYPE_GROUP_STATUS_CHANGED = 102; //群状态变更
|
||||||
|
EN_MSG_TYPE_GROUP_DYNAMIC_CHANGED = 103; //群动态变更
|
||||||
|
EN_MSG_TYPE_GROUP_LIST_CHANGED = 104; //群列表变更
|
||||||
|
EM_MSG_TYPE_FRIEND_LIST_CHANGED = 105; //好友列表变更
|
||||||
|
EN_MSG_TYPE_GROUP_DETAIL_CHANGED = 106; //群详情发生变化
|
||||||
|
EN_MSG_TYPE_GROUP_MEMBER_ROLE_CHANGED = 107; //群成员角色发生变化
|
||||||
|
EN_MSG_TYPE_NOTICE_WATCH_LIST = 108; //
|
||||||
|
EN_MSG_TYPE_NOTIFY_NEW_REPLY_RECIEVED = 109; //消息系统,收到新的reply
|
||||||
|
EN_MSG_TYPE_NOTIFY_NEW_AT_RECIEVED = 110; //
|
||||||
|
EN_MSG_TYPE_NOTIFY_NEW_PRAISE_RECIEVED = 111; //
|
||||||
|
EN_MSG_TYPE_NOTIFY_NEW_UP_RECIEVED = 112; //
|
||||||
|
EN_MSG_TYPE_NOTIFY_NEW_REPLY_RECIEVED_V2 = 113; //
|
||||||
|
EN_MSG_TYPE_NOTIFY_NEW_AT_RECIEVED_V2 = 114; //
|
||||||
|
EN_MSG_TYPE_NOTIFY_NEW_PRAISE_RECIEVED_V2 = 115; //
|
||||||
|
EN_MSG_TYPE_GROUP_DETAIL_CHANGED_MULTI = 116; //群详情发生变化,多端同步版本需要即时消息,无需落地
|
||||||
|
EN_MSG_TYPE_GROUP_MEMBER_ROLE_CHANGED_MULTI = 117; //群成员角色发生变化,多端同步版本需要即时消息,无需落地
|
||||||
|
EN_MSG_TYPE_NOTIFY_ANTI_DISTURB = 118; //
|
||||||
|
//系统通知栏消息类型
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_DISSOLVED = 201; //群解散
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_JOINED = 202; //入群
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_MEMBER_EXITED = 203; //成员主动退群
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_ADMIN_FIRED = 204; //房管被撤
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_MEMBER_KICKED = 205; //成员被T
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_ADMIN_KICK_OFF = 206; //管理T人
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_ADMIN_DUTY = 207; //管理上任
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_AUTO_CREATED = 208; //自动创建
|
||||||
|
EN_MSG_TYPE_SYS_FRIEND_APPLY = 210; //好友申请
|
||||||
|
EN_MSG_TYPE_SYS_FRIEND_APPLY_ACK = 211; //好友申请通过
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_APPLY_FOR_JOINING = 212; //用户加群申请
|
||||||
|
EN_MSG_TYPE_SYS_GROUP_ADMIN_ACCEPTED_USER_APPLY = 213; //通知管理员,有其他管理员已经同意用户加群
|
||||||
|
//聊天窗口通知消息类型
|
||||||
|
EN_MSG_TYPE_CHAT_MEMBER_JOINED = 301; //入群
|
||||||
|
EN_MSG_TYPE_CHAT_MEMBER_EXITED = 302; //退群
|
||||||
|
EN_MSG_TYPE_CHAT_GROUP_FREEZED = 303; //冻结
|
||||||
|
EN_MSG_TYPE_CHAT_GROUP_DISSOLVED = 304; //解散
|
||||||
|
EN_MSG_TYPE_CHAT_GROUP_CREATED = 305; //开通应援团
|
||||||
|
EN_MSG_TYPE_CHAT_POPUP_SESSION = 306; //弹出会话
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message SessionInfo {
|
||||||
|
//
|
||||||
|
uint64 talkerId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 sessionType = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 atSeqno = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 topTs = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
string groupName = 5;
|
||||||
|
|
||||||
|
//
|
||||||
|
string groupCover = 6;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 isFollow = 7;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 isDnd = 8;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 ackSeqno = 9;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 ackTs = 10;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 sessionTs = 11;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 unreadCount = 12;
|
||||||
|
|
||||||
|
//
|
||||||
|
Msg lastMsg = 13;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 groupType = 14;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 canFold = 15;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 status = 16;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 maxSeqno = 17;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 newPushMsg = 18;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 setting = 19;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 isGuardian = 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message Msg {
|
||||||
|
//
|
||||||
|
uint64 senderUid = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 receiverType = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 receiverId = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 cliMsgId = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 msgType = 5;
|
||||||
|
|
||||||
|
//
|
||||||
|
string content = 6;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 msgSeqno = 7;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 timestamp = 8;
|
||||||
|
|
||||||
|
//
|
||||||
|
repeated uint64 atUids = 9;
|
||||||
|
|
||||||
|
//
|
||||||
|
repeated uint64 recverIds = 10;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 msgKey = 11;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 msgStatus = 12;
|
||||||
|
|
||||||
|
//
|
||||||
|
bool sysCancel = 13;
|
||||||
|
|
||||||
|
//
|
||||||
|
string notifyCode = 14;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 msgSource = 15;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 newFaceVersion = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message RelationLog {
|
||||||
|
//
|
||||||
|
int32 logType = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 oplogSeqno = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
FriendRelation friendRelation = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
GroupRelation groupRelation = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message FriendRelation {
|
||||||
|
//
|
||||||
|
uint64 uid = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
string userName = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
string face = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 vipLevel = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
message GroupRelation {
|
||||||
|
//
|
||||||
|
uint64 groupId = 1;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 ownerUid = 2;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 groupType = 3;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint32 groupLevel = 4;
|
||||||
|
|
||||||
|
//
|
||||||
|
string groupCover = 5;
|
||||||
|
|
||||||
|
//
|
||||||
|
string groupName = 6;
|
||||||
|
|
||||||
|
//
|
||||||
|
string groupNotice = 7;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 status = 8;
|
||||||
|
|
||||||
|
//
|
||||||
|
int32 memberRole = 9;
|
||||||
|
|
||||||
|
//
|
||||||
|
string fansMedalName = 10;
|
||||||
|
|
||||||
|
//
|
||||||
|
uint64 roomId = 11;
|
||||||
|
}
|
||||||
@ -32,7 +32,7 @@ service Reply {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//主评论列表-请求
|
//主评论列表-请求
|
||||||
message MainListReq{
|
message MainListReq {
|
||||||
//目标评论区id
|
//目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ message MainListReq{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//主评论列表-回复
|
//主评论列表-回复
|
||||||
message MainListReply{
|
message MainListReply {
|
||||||
//页面游标
|
//页面游标
|
||||||
CursorReply cursor = 1;
|
CursorReply cursor = 1;
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ message MainListReply{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//二级评论明细-请求
|
//二级评论明细-请求
|
||||||
message DetailListReq{
|
message DetailListReq {
|
||||||
//目标评论区id
|
//目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ message DetailListReq{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//二级评论明细-回复
|
//二级评论明细-回复
|
||||||
message DetailListReply{
|
message DetailListReply {
|
||||||
//页面游标
|
//页面游标
|
||||||
CursorReply cursor = 1;
|
CursorReply cursor = 1;
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ message DetailListReply{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//对话评论树-请求
|
//对话评论树-请求
|
||||||
message DialogListReq{
|
message DialogListReq {
|
||||||
//目标评论区id
|
//目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ message DialogListReq{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//对话评论树-回复
|
//对话评论树-回复
|
||||||
message DialogListReply{
|
message DialogListReply {
|
||||||
//页面游标
|
//页面游标
|
||||||
CursorReply cursor = 1;
|
CursorReply cursor = 1;
|
||||||
|
|
||||||
@ -191,7 +191,7 @@ message PreviewListReply {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//?-请求
|
//?-请求
|
||||||
message SearchItemPreHookReq{
|
message SearchItemPreHookReq {
|
||||||
//目标评论区id
|
//目标评论区id
|
||||||
int64 oid = 1;
|
int64 oid = 1;
|
||||||
|
|
||||||
@ -200,7 +200,7 @@ message SearchItemPreHookReq{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//?-回复
|
//?-回复
|
||||||
message SearchItemPreHookReply{
|
message SearchItemPreHookReply {
|
||||||
//
|
//
|
||||||
string placeholderText = 1;
|
string placeholderText = 1;
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ message SearchItemPreHookReply{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//搜索评论区插入项目-请求
|
//搜索评论区插入项目-请求
|
||||||
message SearchItemReq{
|
message SearchItemReq {
|
||||||
//页面游标
|
//页面游标
|
||||||
SearchItemCursorReq cursor = 1;
|
SearchItemCursorReq cursor = 1;
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ message SearchItemReq{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//搜索评论区插入项目-回复
|
//搜索评论区插入项目-回复
|
||||||
message SearchItemReply{
|
message SearchItemReply {
|
||||||
//
|
//
|
||||||
SearchItemCursorReply cursor = 1;
|
SearchItemCursorReply cursor = 1;
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ message SearchItemReply{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//排序方式
|
//排序方式
|
||||||
enum Mode{
|
enum Mode {
|
||||||
//
|
//
|
||||||
DEFAULT = 0;
|
DEFAULT = 0;
|
||||||
|
|
||||||
@ -254,7 +254,7 @@ enum Mode{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//页面游标请求
|
//页面游标请求
|
||||||
message CursorReq{
|
message CursorReq {
|
||||||
//下页数据
|
//下页数据
|
||||||
int64 next = 1;
|
int64 next = 1;
|
||||||
|
|
||||||
@ -266,7 +266,7 @@ message CursorReq{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//页面游标回复
|
//页面游标回复
|
||||||
message CursorReply{
|
message CursorReply {
|
||||||
//下页数据
|
//下页数据
|
||||||
int64 next = 1;
|
int64 next = 1;
|
||||||
|
|
||||||
@ -284,7 +284,7 @@ message CursorReply{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
enum SearchItemType{
|
enum SearchItemType {
|
||||||
//
|
//
|
||||||
DEFAULT_ITEM_TYPE = 0;
|
DEFAULT_ITEM_TYPE = 0;
|
||||||
|
|
||||||
@ -299,7 +299,7 @@ enum SearchItemType{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
enum DetailListScene{
|
enum DetailListScene {
|
||||||
//评论区展开
|
//评论区展开
|
||||||
REPLY = 0;
|
REPLY = 0;
|
||||||
|
|
||||||
@ -308,7 +308,7 @@ enum DetailListScene{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message SearchItemCursorReq{
|
message SearchItemCursorReq {
|
||||||
//
|
//
|
||||||
int64 next = 1;
|
int64 next = 1;
|
||||||
|
|
||||||
@ -317,7 +317,7 @@ message SearchItemCursorReq{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message SearchItemCursorReply{
|
message SearchItemCursorReply {
|
||||||
//
|
//
|
||||||
bool hasNext = 1;
|
bool hasNext = 1;
|
||||||
|
|
||||||
@ -326,7 +326,8 @@ message SearchItemCursorReply{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//用户信息
|
//用户信息
|
||||||
message Member{
|
message Member {
|
||||||
|
/**********基础信息**********/
|
||||||
//UID
|
//UID
|
||||||
int64 mid = 1;
|
int64 mid = 1;
|
||||||
|
|
||||||
@ -345,7 +346,7 @@ message Member{
|
|||||||
//认证类型
|
//认证类型
|
||||||
int64 officialVerifyType = 6;
|
int64 officialVerifyType = 6;
|
||||||
|
|
||||||
/****VIP相关****/
|
/**********VIP相关**********/
|
||||||
//会员类型
|
//会员类型
|
||||||
int64 vipType = 7;
|
int64 vipType = 7;
|
||||||
|
|
||||||
@ -358,7 +359,7 @@ message Member{
|
|||||||
//会员铭牌样式url
|
//会员铭牌样式url
|
||||||
string vipLabelPath = 10;
|
string vipLabelPath = 10;
|
||||||
|
|
||||||
/****装扮相关****/
|
/**********装扮相关**********/
|
||||||
//头像框url
|
//头像框url
|
||||||
string garbPendantImage = 11;
|
string garbPendantImage = 11;
|
||||||
|
|
||||||
@ -380,7 +381,7 @@ message Member{
|
|||||||
//是否为专属装扮卡
|
//是否为专属装扮卡
|
||||||
bool garbCardIsFan = 17;
|
bool garbCardIsFan = 17;
|
||||||
|
|
||||||
/****粉丝勋章相关****/
|
/**********粉丝勋章相关**********/
|
||||||
//粉丝勋章名
|
//粉丝勋章名
|
||||||
string fansMedalName = 18;
|
string fansMedalName = 18;
|
||||||
|
|
||||||
@ -392,7 +393,7 @@ message Member{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//表情项
|
//表情项
|
||||||
message Emote{
|
message Emote {
|
||||||
//表情大小
|
//表情大小
|
||||||
//1:小 2:大
|
//1:小 2:大
|
||||||
int64 size = 1;
|
int64 size = 1;
|
||||||
@ -402,7 +403,7 @@ message Emote{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//话题项
|
//话题项
|
||||||
message Topic{
|
message Topic {
|
||||||
//跳转url
|
//跳转url
|
||||||
string link = 1;
|
string link = 1;
|
||||||
|
|
||||||
@ -411,7 +412,7 @@ message Topic{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//超链项
|
//超链项
|
||||||
message Url{
|
message Url {
|
||||||
//标题
|
//标题
|
||||||
string title = 1;
|
string title = 1;
|
||||||
|
|
||||||
@ -430,12 +431,12 @@ message Url{
|
|||||||
//
|
//
|
||||||
string appPackageName = 6;
|
string appPackageName = 6;
|
||||||
|
|
||||||
//
|
//上报id
|
||||||
string clickReport = 7;
|
string clickReport = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
//投票信息
|
//投票信息
|
||||||
message Vote{
|
message Vote {
|
||||||
//投票id
|
//投票id
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
|
|
||||||
@ -447,7 +448,7 @@ message Vote{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//评论主体信息
|
//评论主体信息
|
||||||
message Content{
|
message Content {
|
||||||
//评论文本
|
//评论文本
|
||||||
string message = 1;
|
string message = 1;
|
||||||
|
|
||||||
@ -468,7 +469,7 @@ message Content{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//评论条目控制字段
|
//评论条目控制字段
|
||||||
message ReplyControl{
|
message ReplyControl {
|
||||||
//操作行为标志
|
//操作行为标志
|
||||||
//0:无 1:已点赞 2:已点踩
|
//0:无 1:已点赞 2:已点踩
|
||||||
int64 action = 1;
|
int64 action = 1;
|
||||||
@ -520,7 +521,7 @@ message ReplyControl{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//评论条目信息
|
//评论条目信息
|
||||||
message ReplyInfo{
|
message ReplyInfo {
|
||||||
//二级评论列表
|
//二级评论列表
|
||||||
repeated ReplyInfo replies = 1;
|
repeated ReplyInfo replies = 1;
|
||||||
|
|
||||||
@ -565,7 +566,7 @@ message ReplyInfo{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//评论区控制字段
|
//评论区控制字段
|
||||||
message SubjectControl{
|
message SubjectControl {
|
||||||
//UP主UID
|
//UP主UID
|
||||||
int64 upMid = 1;
|
int64 upMid = 1;
|
||||||
|
|
||||||
@ -619,7 +620,7 @@ message SubjectControl{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message Notice{
|
message Notice {
|
||||||
//
|
//
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
|
|
||||||
@ -631,7 +632,7 @@ message Notice{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message Lottery{
|
message Lottery {
|
||||||
//
|
//
|
||||||
int64 lotteryId = 1;
|
int64 lotteryId = 1;
|
||||||
|
|
||||||
@ -664,7 +665,7 @@ message Lottery{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message Activity{
|
message Activity {
|
||||||
//
|
//
|
||||||
int64 activityId = 1;
|
int64 activityId = 1;
|
||||||
|
|
||||||
@ -676,7 +677,7 @@ message Activity{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message UpSelection{
|
message UpSelection {
|
||||||
//
|
//
|
||||||
int64 pendingCount = 1;
|
int64 pendingCount = 1;
|
||||||
|
|
||||||
@ -685,13 +686,13 @@ message UpSelection{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message CM{
|
message CM {
|
||||||
//
|
//
|
||||||
google.protobuf.Any sourceContent = 1;
|
google.protobuf.Any sourceContent = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message ArticleSearchItem{
|
message ArticleSearchItem {
|
||||||
//
|
//
|
||||||
string title = 1;
|
string title = 1;
|
||||||
|
|
||||||
@ -703,7 +704,7 @@ message ArticleSearchItem{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message GoodsSearchItem{
|
message GoodsSearchItem {
|
||||||
//
|
//
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
|
|
||||||
@ -724,7 +725,7 @@ message GoodsSearchItem{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
enum VideoItemCase{
|
enum VideoItemCase {
|
||||||
//
|
//
|
||||||
VIDEOITEM_NOT_SET = 0;
|
VIDEOITEM_NOT_SET = 0;
|
||||||
|
|
||||||
@ -736,7 +737,7 @@ enum VideoItemCase{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message UGCVideoSearchItem{
|
message UGCVideoSearchItem {
|
||||||
//
|
//
|
||||||
string title = 1;
|
string title = 1;
|
||||||
|
|
||||||
@ -751,7 +752,7 @@ message UGCVideoSearchItem{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message PGCVideoSearchItem{
|
message PGCVideoSearchItem {
|
||||||
//
|
//
|
||||||
string title = 1;
|
string title = 1;
|
||||||
|
|
||||||
@ -763,7 +764,7 @@ message PGCVideoSearchItem{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message VideoSearchItem{
|
message VideoSearchItem {
|
||||||
//
|
//
|
||||||
VideoItemCase type = 1;
|
VideoItemCase type = 1;
|
||||||
|
|
||||||
@ -775,7 +776,7 @@ message VideoSearchItem{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
enum ItemCase{
|
enum ItemCase {
|
||||||
//
|
//
|
||||||
ITEM_NOT_SET = 0;
|
ITEM_NOT_SET = 0;
|
||||||
|
|
||||||
@ -790,7 +791,7 @@ enum ItemCase{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message SearchItem{
|
message SearchItem {
|
||||||
//
|
//
|
||||||
string url = 1;
|
string url = 1;
|
||||||
|
|
||||||
@ -805,7 +806,7 @@ message SearchItem{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
message SearchItemReplyExtraInfo{
|
message SearchItemReplyExtraInfo {
|
||||||
//
|
//
|
||||||
string eventId = 1;
|
string eventId = 1;
|
||||||
}
|
}
|
||||||
@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
| 字段 | 类型 | 内容 | 备注 |
|
| 字段 | 类型 | 内容 | 备注 |
|
||||||
| ----------- | ---- | --------------- | ------------------------------ |
|
| ----------- | ---- | --------------- | ------------------------------ |
|
||||||
| id | num | 系统提示类型ID | 20:纪念账号 |
|
| id | num | 系统提示类型ID | 20:纪念账号<br />22:合约诉讼 |
|
||||||
| content | str | 提示文案 | |
|
| content | str | 提示文案 | |
|
||||||
| url | str | 提示信息页面url | |
|
| url | str | 提示信息页面url | |
|
||||||
| notice_type | num | ? | 作用尚不明确<br />此字段非必须 |
|
| notice_type | num | ? | 作用尚不明确<br />此字段非必须 |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user