github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/channel/GuildWriter.proto (about) 1 syntax = "proto2"; 2 3 package channel; 4 5 option go_package = "github.com/Mrs4s/MiraiGo/client/pb/channel"; 6 7 import "pb/channel/GuildFeedCloudMeta.proto"; 8 import "pb/channel/GuildChannelBase.proto"; 9 10 message StAlterFeedReq { 11 optional StCommonExt extInfo = 1; 12 optional StFeed feed = 2; 13 optional bytes busiReqData = 3; 14 optional uint64 mBitmap = 4; 15 optional int32 from = 5; 16 optional int32 src = 6; 17 repeated CommonEntry alterFeedExtInfo = 7; 18 optional string jsonFeed = 8; 19 optional StClientContent clientContent = 9; 20 } 21 22 message StAlterFeedRsp { 23 optional StCommonExt extInfo = 1; 24 optional StFeed feed = 2; 25 optional bytes busiRspData = 3; 26 } 27 28 message StClientContent { 29 repeated StClientImageContent clientImageContents = 1; 30 repeated StClientVideoContent clientVideoContents = 2; 31 } 32 33 message StClientImageContent { 34 optional string taskId = 1; 35 optional string picId = 2; 36 optional string url = 3; 37 } 38 39 message StClientVideoContent { 40 optional string taskId = 1; 41 optional string videoId = 2; 42 optional string videoUrl = 3; 43 optional string coverUrl = 4; 44 } 45 46 message StDelFeedReq { 47 optional StCommonExt extInfo = 1; 48 optional StFeed feed = 2; 49 optional int32 from = 3; 50 optional int32 src = 4; 51 } 52 53 message StDelFeedRsp { 54 optional StCommonExt extInfo = 1; 55 } 56 57 message StDoCommentReq { 58 optional StCommonExt extInfo = 1; 59 optional uint32 commentType = 2; 60 optional StComment comment = 3; 61 optional StFeed feed = 4; 62 optional int32 from = 5; 63 optional bytes busiReqData = 6; 64 optional int32 src = 7; 65 } 66 67 message StDoCommentRsp { 68 optional StCommonExt extInfo = 1; 69 optional StComment comment = 2; 70 optional bytes busiRspData = 3; 71 } 72 73 message StDoLikeReq { 74 optional StCommonExt extInfo = 1; 75 optional uint32 likeType = 2; 76 optional StLike like = 3; 77 optional StFeed feed = 4; 78 optional bytes busiReqData = 5; 79 optional StComment comment = 6; 80 optional StReply reply = 7; 81 optional int32 from = 8; 82 optional int32 src = 9; 83 optional StEmotionReactionInfo emotionReaction = 10; 84 } 85 86 message StDoLikeRsp { 87 optional StCommonExt extInfo = 1; 88 optional StLike like = 2; 89 optional bytes busiRspData = 3; 90 optional StEmotionReactionInfo emotionReaction = 4; 91 } 92 93 message StDoReplyReq { 94 optional StCommonExt extInfo = 1; 95 optional uint32 replyType = 2; 96 optional StReply reply = 3; 97 optional StComment comment = 4; 98 optional StFeed feed = 5; 99 optional int32 from = 6; 100 optional bytes busiReqData = 7; 101 optional int32 src = 8; 102 } 103 104 message StDoReplyRsp { 105 optional StCommonExt extInfo = 1; 106 optional StReply reply = 2; 107 optional bytes busiRspData = 3; 108 } 109 110 message StDoSecurityReq { 111 optional StCommonExt extInfo = 1; 112 optional StFeed feed = 2; 113 optional StComment comment = 3; 114 optional StReply reply = 4; 115 optional StUser poster = 5; 116 optional int32 secType = 6; 117 } 118 119 message StDoSecurityRsp { 120 optional StCommonExt extInfo = 1; 121 } 122 123 message StModifyFeedReq { 124 optional StCommonExt extInfo = 1; 125 optional StFeed feed = 2; 126 optional uint64 mBitmap = 3; 127 optional int32 from = 4; 128 optional int32 src = 5; 129 repeated CommonEntry modifyFeedExtInfo = 6; 130 } 131 132 message StModifyFeedRsp { 133 optional StCommonExt extInfo = 1; 134 optional StFeed feed = 2; 135 optional bytes busiRspData = 3; 136 } 137 138 message StPublishFeedReq { 139 optional StCommonExt extInfo = 1; 140 optional StFeed feed = 2; 141 optional bytes busiReqData = 3; 142 optional int32 from = 4; 143 optional int32 src = 5; 144 repeated CommonEntry storeFeedExtInfo = 6; 145 optional string jsonFeed = 7; 146 optional StClientContent clientContent = 8; 147 } 148 149 message StPublishFeedRsp { 150 optional StCommonExt extInfo = 1; 151 optional StFeed feed = 2; 152 optional bytes busiRspData = 3; 153 } 154