syntax = "proto2";

package PushResult;

//option optimize_for = LITE_RUNTIME;
option java_package = "com.miaole.live.protocol.response";
option java_outer_classname = "PushResult";

//设备各个功能的推送
message FunctionPushOpen {
	// COMMENT = 1;//评论
	// CLICK_LIKE = 2;//点选
	// FOCUS = 3;//关注
	// FRIEND_MOMENT = 4;//好友动态
	// OPEN_LIVE = 5;//关注用户开播
	// CHAT = 6;//聊天
	optional int32 type = 1;
	optional bool open = 2;
}


message PushConfig {
	optional bool open = 1;//推送开关
	optional bool dontDisturb = 2;//勿扰开关
	optional string dontDisturbStart = 3;//勿扰开始时间
	optional string dontDisturbEnd = 4;//勿扰结束时间
	repeated FunctionPushOpen functionPushOpenList = 5;//各个功能开关列表
}


