syntax = "proto2";

package NotificationCmd;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.request";
option java_outer_classname = "NotificationCmd";

//获取通知列表 结果：NotificationResult.NotificationVOS
message listNotification {
  optional string lastId = 1; // 最后一条dataID 没有则传空字符串
  optional int32 size = 2; //分页条数
  optional bool includeVote = 3; // 是否包含投票通知返回 ture 包含，false 不包含
}
//阅读通知消息
message viewNotification {
  repeated string id = 1; //通知id
}
//删除通知消息
message delNotification {
  repeated string id = 1; //通知id
}
//触发互动消息
message triggerNote {
  optional string userId = 1;
  optional int32 type = 2; //数据源类型(1:动态点赞,2:评论点赞,3:关注,4:浏览主页,5:评论动态,6:回复评论,7:浏览个人卡片)
  optional string dateId = 3;
}