chat_grpc.pb.go 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package chat
  3. import (
  4. context "context"
  5. common "git.ikuban.com/server/pw-protobuf/api/common"
  6. grpc "google.golang.org/grpc"
  7. codes "google.golang.org/grpc/codes"
  8. status "google.golang.org/grpc/status"
  9. emptypb "google.golang.org/protobuf/types/known/emptypb"
  10. )
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the grpc package it is being compiled against.
  13. // Requires gRPC-Go v1.32.0 or later.
  14. const _ = grpc.SupportPackageIsVersion7
  15. // ChatClient is the client API for Chat service.
  16. //
  17. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  18. type ChatClient interface {
  19. // 检查用户是否与接待员聊天
  20. CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error)
  21. // 创建聊天房间
  22. CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error)
  23. // 查询在线人的列表
  24. FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  25. // 查询推荐人的列表
  26. FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  27. // 接待员查询房间列表
  28. PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error)
  29. // 用户查询房间列表
  30. UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error)
  31. // websocket调用
  32. Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error)
  33. // 查询聊天记录
  34. FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  35. // 房间信息
  36. FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
  37. // 拉黑
  38. SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  39. // 删除房间
  40. DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  41. // 拉黑
  42. Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  43. // 房间信息
  44. FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error)
  45. // 获取假弹窗
  46. GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error)
  47. // 随机匹配
  48. GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error)
  49. // 随机匹配接待员
  50. GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error)
  51. // 精确匹配用户
  52. AccurateMatchingUserInfo(ctx context.Context, in *AccurateMatchingUserInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error)
  53. // 接待员收藏某条记录
  54. PartnerCollect(ctx context.Context, in *PartnerCollectIDsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  55. // 接待员取消收藏某条记录
  56. PartnerDeleteCollect(ctx context.Context, in *PartnerCollectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  57. // 查询接待员在本房间的收藏列表
  58. FindChatCollectList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  59. // 用户解锁语音
  60. UserUnlockVoice(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  61. // 用户解锁图片
  62. UserUnlockPicture(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  63. // 获取房间的接待员收益
  64. GetRoomProfit(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*GetRoomProfitReply, error)
  65. // 获取在线人数
  66. GetOnlinePersonNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOnlinePersonNumReply, error)
  67. // 查询用户全部的未读数
  68. FindUserAllUnreadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*UnreadNumReply, error)
  69. // 用户查询与某人的房间
  70. GetUserRoomByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserRoomInfo, error)
  71. // 用户查询对某人是否是超级喜欢
  72. GetSuperLoveByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserSuperLoveInfo, error)
  73. // 管理员查询房间列表
  74. ManagerFindRoomList(ctx context.Context, in *common.ManagerFindRoomListRequest, opts ...grpc.CallOption) (*common.ManagerFindRoomListReply, error)
  75. // 管理员查询聊天记录
  76. ManagerFindChatRecordList(ctx context.Context, in *common.ManagerFindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  77. // 管理员查询举报列表
  78. ManagerFindReportList(ctx context.Context, in *common.ManagerFindReportListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportListReply, error)
  79. // 管理员查询某个举报者的举报详情列表
  80. ManagerFindReportDetailsList(ctx context.Context, in *common.ManagerFindReportDetailsListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportDetailsListReply, error)
  81. // 发送消息
  82. SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
  83. // 小纸条创建房间
  84. ScripCreateRoom(ctx context.Context, in *ScripCreateRoomRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
  85. // 清除用户的未读数
  86. CleanUserUnReadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  87. }
  88. type chatClient struct {
  89. cc grpc.ClientConnInterface
  90. }
  91. func NewChatClient(cc grpc.ClientConnInterface) ChatClient {
  92. return &chatClient{cc}
  93. }
  94. func (c *chatClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error) {
  95. out := new(CheckUserPartnerIsRelationshipReply)
  96. err := c.cc.Invoke(ctx, "/api.chat.Chat/CheckUserPartnerIsRelationship", in, out, opts...)
  97. if err != nil {
  98. return nil, err
  99. }
  100. return out, nil
  101. }
  102. func (c *chatClient) CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error) {
  103. out := new(RoomReply)
  104. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateChatRoom", in, out, opts...)
  105. if err != nil {
  106. return nil, err
  107. }
  108. return out, nil
  109. }
  110. func (c *chatClient) FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  111. out := new(common.RecommendPersonListReply)
  112. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOnlinePersonList", in, out, opts...)
  113. if err != nil {
  114. return nil, err
  115. }
  116. return out, nil
  117. }
  118. func (c *chatClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  119. out := new(common.RecommendPersonListReply)
  120. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendPersonList", in, out, opts...)
  121. if err != nil {
  122. return nil, err
  123. }
  124. return out, nil
  125. }
  126. func (c *chatClient) PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error) {
  127. out := new(PartnerFindRoomListReply)
  128. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerFindRoomList", in, out, opts...)
  129. if err != nil {
  130. return nil, err
  131. }
  132. return out, nil
  133. }
  134. func (c *chatClient) UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error) {
  135. out := new(UserFindRoomListReply)
  136. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserFindRoomList", in, out, opts...)
  137. if err != nil {
  138. return nil, err
  139. }
  140. return out, nil
  141. }
  142. func (c *chatClient) Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error) {
  143. out := new(ReceiveReply)
  144. err := c.cc.Invoke(ctx, "/api.chat.Chat/Receive", in, out, opts...)
  145. if err != nil {
  146. return nil, err
  147. }
  148. return out, nil
  149. }
  150. func (c *chatClient) FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  151. out := new(common.ChatRecordListReply)
  152. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRecordList", in, out, opts...)
  153. if err != nil {
  154. return nil, err
  155. }
  156. return out, nil
  157. }
  158. func (c *chatClient) FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  159. out := new(common.ChatRoomMsg)
  160. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRoomMsg", in, out, opts...)
  161. if err != nil {
  162. return nil, err
  163. }
  164. return out, nil
  165. }
  166. func (c *chatClient) SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  167. out := new(emptypb.Empty)
  168. err := c.cc.Invoke(ctx, "/api.chat.Chat/SetBlackChat", in, out, opts...)
  169. if err != nil {
  170. return nil, err
  171. }
  172. return out, nil
  173. }
  174. func (c *chatClient) DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  175. out := new(emptypb.Empty)
  176. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteChat", in, out, opts...)
  177. if err != nil {
  178. return nil, err
  179. }
  180. return out, nil
  181. }
  182. func (c *chatClient) Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  183. out := new(emptypb.Empty)
  184. err := c.cc.Invoke(ctx, "/api.chat.Chat/Report", in, out, opts...)
  185. if err != nil {
  186. return nil, err
  187. }
  188. return out, nil
  189. }
  190. func (c *chatClient) FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error) {
  191. out := new(common.RoomChatMsg)
  192. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRoomCardMsg", in, out, opts...)
  193. if err != nil {
  194. return nil, err
  195. }
  196. return out, nil
  197. }
  198. func (c *chatClient) GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error) {
  199. out := new(WindowInfo)
  200. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetWindowInfo", in, out, opts...)
  201. if err != nil {
  202. return nil, err
  203. }
  204. return out, nil
  205. }
  206. func (c *chatClient) GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error) {
  207. out := new(GetRandomMatchingReply)
  208. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRandomMatching", in, out, opts...)
  209. if err != nil {
  210. return nil, err
  211. }
  212. return out, nil
  213. }
  214. func (c *chatClient) GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error) {
  215. out := new(common.GetMatchingPartnerInfoReply)
  216. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetMatchingPartnerInfo", in, out, opts...)
  217. if err != nil {
  218. return nil, err
  219. }
  220. return out, nil
  221. }
  222. func (c *chatClient) AccurateMatchingUserInfo(ctx context.Context, in *AccurateMatchingUserInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error) {
  223. out := new(common.GetMatchingPartnerInfoReply)
  224. err := c.cc.Invoke(ctx, "/api.chat.Chat/AccurateMatchingUserInfo", in, out, opts...)
  225. if err != nil {
  226. return nil, err
  227. }
  228. return out, nil
  229. }
  230. func (c *chatClient) PartnerCollect(ctx context.Context, in *PartnerCollectIDsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  231. out := new(emptypb.Empty)
  232. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerCollect", in, out, opts...)
  233. if err != nil {
  234. return nil, err
  235. }
  236. return out, nil
  237. }
  238. func (c *chatClient) PartnerDeleteCollect(ctx context.Context, in *PartnerCollectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  239. out := new(emptypb.Empty)
  240. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerDeleteCollect", in, out, opts...)
  241. if err != nil {
  242. return nil, err
  243. }
  244. return out, nil
  245. }
  246. func (c *chatClient) FindChatCollectList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  247. out := new(common.ChatRecordListReply)
  248. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatCollectList", in, out, opts...)
  249. if err != nil {
  250. return nil, err
  251. }
  252. return out, nil
  253. }
  254. func (c *chatClient) UserUnlockVoice(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  255. out := new(emptypb.Empty)
  256. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockVoice", in, out, opts...)
  257. if err != nil {
  258. return nil, err
  259. }
  260. return out, nil
  261. }
  262. func (c *chatClient) UserUnlockPicture(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  263. out := new(emptypb.Empty)
  264. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockPicture", in, out, opts...)
  265. if err != nil {
  266. return nil, err
  267. }
  268. return out, nil
  269. }
  270. func (c *chatClient) GetRoomProfit(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*GetRoomProfitReply, error) {
  271. out := new(GetRoomProfitReply)
  272. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRoomProfit", in, out, opts...)
  273. if err != nil {
  274. return nil, err
  275. }
  276. return out, nil
  277. }
  278. func (c *chatClient) GetOnlinePersonNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOnlinePersonNumReply, error) {
  279. out := new(GetOnlinePersonNumReply)
  280. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetOnlinePersonNum", in, out, opts...)
  281. if err != nil {
  282. return nil, err
  283. }
  284. return out, nil
  285. }
  286. func (c *chatClient) FindUserAllUnreadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*UnreadNumReply, error) {
  287. out := new(UnreadNumReply)
  288. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindUserAllUnreadNum", in, out, opts...)
  289. if err != nil {
  290. return nil, err
  291. }
  292. return out, nil
  293. }
  294. func (c *chatClient) GetUserRoomByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserRoomInfo, error) {
  295. out := new(UserRoomInfo)
  296. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetUserRoomByPerson", in, out, opts...)
  297. if err != nil {
  298. return nil, err
  299. }
  300. return out, nil
  301. }
  302. func (c *chatClient) GetSuperLoveByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserSuperLoveInfo, error) {
  303. out := new(UserSuperLoveInfo)
  304. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetSuperLoveByPerson", in, out, opts...)
  305. if err != nil {
  306. return nil, err
  307. }
  308. return out, nil
  309. }
  310. func (c *chatClient) ManagerFindRoomList(ctx context.Context, in *common.ManagerFindRoomListRequest, opts ...grpc.CallOption) (*common.ManagerFindRoomListReply, error) {
  311. out := new(common.ManagerFindRoomListReply)
  312. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindRoomList", in, out, opts...)
  313. if err != nil {
  314. return nil, err
  315. }
  316. return out, nil
  317. }
  318. func (c *chatClient) ManagerFindChatRecordList(ctx context.Context, in *common.ManagerFindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  319. out := new(common.ChatRecordListReply)
  320. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindChatRecordList", in, out, opts...)
  321. if err != nil {
  322. return nil, err
  323. }
  324. return out, nil
  325. }
  326. func (c *chatClient) ManagerFindReportList(ctx context.Context, in *common.ManagerFindReportListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportListReply, error) {
  327. out := new(common.ManagerFindReportListReply)
  328. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindReportList", in, out, opts...)
  329. if err != nil {
  330. return nil, err
  331. }
  332. return out, nil
  333. }
  334. func (c *chatClient) ManagerFindReportDetailsList(ctx context.Context, in *common.ManagerFindReportDetailsListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportDetailsListReply, error) {
  335. out := new(common.ManagerFindReportDetailsListReply)
  336. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindReportDetailsList", in, out, opts...)
  337. if err != nil {
  338. return nil, err
  339. }
  340. return out, nil
  341. }
  342. func (c *chatClient) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error) {
  343. out := new(common.SendMessageReply)
  344. err := c.cc.Invoke(ctx, "/api.chat.Chat/SendMessage", in, out, opts...)
  345. if err != nil {
  346. return nil, err
  347. }
  348. return out, nil
  349. }
  350. func (c *chatClient) ScripCreateRoom(ctx context.Context, in *ScripCreateRoomRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
  351. out := new(common.ChatRecordInfo)
  352. err := c.cc.Invoke(ctx, "/api.chat.Chat/ScripCreateRoom", in, out, opts...)
  353. if err != nil {
  354. return nil, err
  355. }
  356. return out, nil
  357. }
  358. func (c *chatClient) CleanUserUnReadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  359. out := new(emptypb.Empty)
  360. err := c.cc.Invoke(ctx, "/api.chat.Chat/CleanUserUnReadNum", in, out, opts...)
  361. if err != nil {
  362. return nil, err
  363. }
  364. return out, nil
  365. }
  366. // ChatServer is the server API for Chat service.
  367. // All implementations must embed UnimplementedChatServer
  368. // for forward compatibility
  369. type ChatServer interface {
  370. // 检查用户是否与接待员聊天
  371. CheckUserPartnerIsRelationship(context.Context, *common.UserIDsParam) (*CheckUserPartnerIsRelationshipReply, error)
  372. // 创建聊天房间
  373. CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error)
  374. // 查询在线人的列表
  375. FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error)
  376. // 查询推荐人的列表
  377. FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
  378. // 接待员查询房间列表
  379. PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error)
  380. // 用户查询房间列表
  381. UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error)
  382. // websocket调用
  383. Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error)
  384. // 查询聊天记录
  385. FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  386. // 房间信息
  387. FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  388. // 拉黑
  389. SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  390. // 删除房间
  391. DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  392. // 拉黑
  393. Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error)
  394. // 房间信息
  395. FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
  396. // 获取假弹窗
  397. GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error)
  398. // 随机匹配
  399. GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error)
  400. // 随机匹配接待员
  401. GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error)
  402. // 精确匹配用户
  403. AccurateMatchingUserInfo(context.Context, *AccurateMatchingUserInfoRequest) (*common.GetMatchingPartnerInfoReply, error)
  404. // 接待员收藏某条记录
  405. PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error)
  406. // 接待员取消收藏某条记录
  407. PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error)
  408. // 查询接待员在本房间的收藏列表
  409. FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  410. // 用户解锁语音
  411. UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  412. // 用户解锁图片
  413. UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  414. // 获取房间的接待员收益
  415. GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error)
  416. // 获取在线人数
  417. GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error)
  418. // 查询用户全部的未读数
  419. FindUserAllUnreadNum(context.Context, *common.PersonIDParam) (*UnreadNumReply, error)
  420. // 用户查询与某人的房间
  421. GetUserRoomByPerson(context.Context, *common.UserIDsParam) (*UserRoomInfo, error)
  422. // 用户查询对某人是否是超级喜欢
  423. GetSuperLoveByPerson(context.Context, *common.UserIDsParam) (*UserSuperLoveInfo, error)
  424. // 管理员查询房间列表
  425. ManagerFindRoomList(context.Context, *common.ManagerFindRoomListRequest) (*common.ManagerFindRoomListReply, error)
  426. // 管理员查询聊天记录
  427. ManagerFindChatRecordList(context.Context, *common.ManagerFindChatRecordListRequest) (*common.ChatRecordListReply, error)
  428. // 管理员查询举报列表
  429. ManagerFindReportList(context.Context, *common.ManagerFindReportListRequest) (*common.ManagerFindReportListReply, error)
  430. // 管理员查询某个举报者的举报详情列表
  431. ManagerFindReportDetailsList(context.Context, *common.ManagerFindReportDetailsListRequest) (*common.ManagerFindReportDetailsListReply, error)
  432. // 发送消息
  433. SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
  434. // 小纸条创建房间
  435. ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error)
  436. // 清除用户的未读数
  437. CleanUserUnReadNum(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
  438. mustEmbedUnimplementedChatServer()
  439. }
  440. // UnimplementedChatServer must be embedded to have forward compatible implementations.
  441. type UnimplementedChatServer struct {
  442. }
  443. func (UnimplementedChatServer) CheckUserPartnerIsRelationship(context.Context, *common.UserIDsParam) (*CheckUserPartnerIsRelationshipReply, error) {
  444. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  445. }
  446. func (UnimplementedChatServer) CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error) {
  447. return nil, status.Errorf(codes.Unimplemented, "method CreateChatRoom not implemented")
  448. }
  449. func (UnimplementedChatServer) FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error) {
  450. return nil, status.Errorf(codes.Unimplemented, "method FindOnlinePersonList not implemented")
  451. }
  452. func (UnimplementedChatServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
  453. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
  454. }
  455. func (UnimplementedChatServer) PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error) {
  456. return nil, status.Errorf(codes.Unimplemented, "method PartnerFindRoomList not implemented")
  457. }
  458. func (UnimplementedChatServer) UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error) {
  459. return nil, status.Errorf(codes.Unimplemented, "method UserFindRoomList not implemented")
  460. }
  461. func (UnimplementedChatServer) Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error) {
  462. return nil, status.Errorf(codes.Unimplemented, "method Receive not implemented")
  463. }
  464. func (UnimplementedChatServer) FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  465. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  466. }
  467. func (UnimplementedChatServer) FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  468. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  469. }
  470. func (UnimplementedChatServer) SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  471. return nil, status.Errorf(codes.Unimplemented, "method SetBlackChat not implemented")
  472. }
  473. func (UnimplementedChatServer) DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  474. return nil, status.Errorf(codes.Unimplemented, "method DeleteChat not implemented")
  475. }
  476. func (UnimplementedChatServer) Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error) {
  477. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  478. }
  479. func (UnimplementedChatServer) FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error) {
  480. return nil, status.Errorf(codes.Unimplemented, "method FindRoomCardMsg not implemented")
  481. }
  482. func (UnimplementedChatServer) GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error) {
  483. return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
  484. }
  485. func (UnimplementedChatServer) GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error) {
  486. return nil, status.Errorf(codes.Unimplemented, "method GetRandomMatching not implemented")
  487. }
  488. func (UnimplementedChatServer) GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error) {
  489. return nil, status.Errorf(codes.Unimplemented, "method GetMatchingPartnerInfo not implemented")
  490. }
  491. func (UnimplementedChatServer) AccurateMatchingUserInfo(context.Context, *AccurateMatchingUserInfoRequest) (*common.GetMatchingPartnerInfoReply, error) {
  492. return nil, status.Errorf(codes.Unimplemented, "method AccurateMatchingUserInfo not implemented")
  493. }
  494. func (UnimplementedChatServer) PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error) {
  495. return nil, status.Errorf(codes.Unimplemented, "method PartnerCollect not implemented")
  496. }
  497. func (UnimplementedChatServer) PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error) {
  498. return nil, status.Errorf(codes.Unimplemented, "method PartnerDeleteCollect not implemented")
  499. }
  500. func (UnimplementedChatServer) FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  501. return nil, status.Errorf(codes.Unimplemented, "method FindChatCollectList not implemented")
  502. }
  503. func (UnimplementedChatServer) UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  504. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockVoice not implemented")
  505. }
  506. func (UnimplementedChatServer) UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  507. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockPicture not implemented")
  508. }
  509. func (UnimplementedChatServer) GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error) {
  510. return nil, status.Errorf(codes.Unimplemented, "method GetRoomProfit not implemented")
  511. }
  512. func (UnimplementedChatServer) GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error) {
  513. return nil, status.Errorf(codes.Unimplemented, "method GetOnlinePersonNum not implemented")
  514. }
  515. func (UnimplementedChatServer) FindUserAllUnreadNum(context.Context, *common.PersonIDParam) (*UnreadNumReply, error) {
  516. return nil, status.Errorf(codes.Unimplemented, "method FindUserAllUnreadNum not implemented")
  517. }
  518. func (UnimplementedChatServer) GetUserRoomByPerson(context.Context, *common.UserIDsParam) (*UserRoomInfo, error) {
  519. return nil, status.Errorf(codes.Unimplemented, "method GetUserRoomByPerson not implemented")
  520. }
  521. func (UnimplementedChatServer) GetSuperLoveByPerson(context.Context, *common.UserIDsParam) (*UserSuperLoveInfo, error) {
  522. return nil, status.Errorf(codes.Unimplemented, "method GetSuperLoveByPerson not implemented")
  523. }
  524. func (UnimplementedChatServer) ManagerFindRoomList(context.Context, *common.ManagerFindRoomListRequest) (*common.ManagerFindRoomListReply, error) {
  525. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindRoomList not implemented")
  526. }
  527. func (UnimplementedChatServer) ManagerFindChatRecordList(context.Context, *common.ManagerFindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  528. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindChatRecordList not implemented")
  529. }
  530. func (UnimplementedChatServer) ManagerFindReportList(context.Context, *common.ManagerFindReportListRequest) (*common.ManagerFindReportListReply, error) {
  531. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindReportList not implemented")
  532. }
  533. func (UnimplementedChatServer) ManagerFindReportDetailsList(context.Context, *common.ManagerFindReportDetailsListRequest) (*common.ManagerFindReportDetailsListReply, error) {
  534. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindReportDetailsList not implemented")
  535. }
  536. func (UnimplementedChatServer) SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error) {
  537. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  538. }
  539. func (UnimplementedChatServer) ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error) {
  540. return nil, status.Errorf(codes.Unimplemented, "method ScripCreateRoom not implemented")
  541. }
  542. func (UnimplementedChatServer) CleanUserUnReadNum(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
  543. return nil, status.Errorf(codes.Unimplemented, "method CleanUserUnReadNum not implemented")
  544. }
  545. func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
  546. // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
  547. // Use of this interface is not recommended, as added methods to ChatServer will
  548. // result in compilation errors.
  549. type UnsafeChatServer interface {
  550. mustEmbedUnimplementedChatServer()
  551. }
  552. func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) {
  553. s.RegisterService(&Chat_ServiceDesc, srv)
  554. }
  555. func _Chat_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  556. in := new(common.UserIDsParam)
  557. if err := dec(in); err != nil {
  558. return nil, err
  559. }
  560. if interceptor == nil {
  561. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, in)
  562. }
  563. info := &grpc.UnaryServerInfo{
  564. Server: srv,
  565. FullMethod: "/api.chat.Chat/CheckUserPartnerIsRelationship",
  566. }
  567. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  568. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, req.(*common.UserIDsParam))
  569. }
  570. return interceptor(ctx, in, info, handler)
  571. }
  572. func _Chat_CreateChatRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  573. in := new(CreateChatRoomParam)
  574. if err := dec(in); err != nil {
  575. return nil, err
  576. }
  577. if interceptor == nil {
  578. return srv.(ChatServer).CreateChatRoom(ctx, in)
  579. }
  580. info := &grpc.UnaryServerInfo{
  581. Server: srv,
  582. FullMethod: "/api.chat.Chat/CreateChatRoom",
  583. }
  584. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  585. return srv.(ChatServer).CreateChatRoom(ctx, req.(*CreateChatRoomParam))
  586. }
  587. return interceptor(ctx, in, info, handler)
  588. }
  589. func _Chat_FindOnlinePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  590. in := new(common.ListPageAndPersonRequest)
  591. if err := dec(in); err != nil {
  592. return nil, err
  593. }
  594. if interceptor == nil {
  595. return srv.(ChatServer).FindOnlinePersonList(ctx, in)
  596. }
  597. info := &grpc.UnaryServerInfo{
  598. Server: srv,
  599. FullMethod: "/api.chat.Chat/FindOnlinePersonList",
  600. }
  601. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  602. return srv.(ChatServer).FindOnlinePersonList(ctx, req.(*common.ListPageAndPersonRequest))
  603. }
  604. return interceptor(ctx, in, info, handler)
  605. }
  606. func _Chat_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  607. in := new(FindRecommendPersonListRequest)
  608. if err := dec(in); err != nil {
  609. return nil, err
  610. }
  611. if interceptor == nil {
  612. return srv.(ChatServer).FindRecommendPersonList(ctx, in)
  613. }
  614. info := &grpc.UnaryServerInfo{
  615. Server: srv,
  616. FullMethod: "/api.chat.Chat/FindRecommendPersonList",
  617. }
  618. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  619. return srv.(ChatServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
  620. }
  621. return interceptor(ctx, in, info, handler)
  622. }
  623. func _Chat_PartnerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  624. in := new(PartnerFindRoomListRequest)
  625. if err := dec(in); err != nil {
  626. return nil, err
  627. }
  628. if interceptor == nil {
  629. return srv.(ChatServer).PartnerFindRoomList(ctx, in)
  630. }
  631. info := &grpc.UnaryServerInfo{
  632. Server: srv,
  633. FullMethod: "/api.chat.Chat/PartnerFindRoomList",
  634. }
  635. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  636. return srv.(ChatServer).PartnerFindRoomList(ctx, req.(*PartnerFindRoomListRequest))
  637. }
  638. return interceptor(ctx, in, info, handler)
  639. }
  640. func _Chat_UserFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  641. in := new(UserFindRoomListRequest)
  642. if err := dec(in); err != nil {
  643. return nil, err
  644. }
  645. if interceptor == nil {
  646. return srv.(ChatServer).UserFindRoomList(ctx, in)
  647. }
  648. info := &grpc.UnaryServerInfo{
  649. Server: srv,
  650. FullMethod: "/api.chat.Chat/UserFindRoomList",
  651. }
  652. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  653. return srv.(ChatServer).UserFindRoomList(ctx, req.(*UserFindRoomListRequest))
  654. }
  655. return interceptor(ctx, in, info, handler)
  656. }
  657. func _Chat_Receive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  658. in := new(ReceiveRequest)
  659. if err := dec(in); err != nil {
  660. return nil, err
  661. }
  662. if interceptor == nil {
  663. return srv.(ChatServer).Receive(ctx, in)
  664. }
  665. info := &grpc.UnaryServerInfo{
  666. Server: srv,
  667. FullMethod: "/api.chat.Chat/Receive",
  668. }
  669. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  670. return srv.(ChatServer).Receive(ctx, req.(*ReceiveRequest))
  671. }
  672. return interceptor(ctx, in, info, handler)
  673. }
  674. func _Chat_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  675. in := new(FindChatRecordListRequest)
  676. if err := dec(in); err != nil {
  677. return nil, err
  678. }
  679. if interceptor == nil {
  680. return srv.(ChatServer).FindChatRecordList(ctx, in)
  681. }
  682. info := &grpc.UnaryServerInfo{
  683. Server: srv,
  684. FullMethod: "/api.chat.Chat/FindChatRecordList",
  685. }
  686. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  687. return srv.(ChatServer).FindChatRecordList(ctx, req.(*FindChatRecordListRequest))
  688. }
  689. return interceptor(ctx, in, info, handler)
  690. }
  691. func _Chat_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  692. in := new(FindChatRoomMsgRequest)
  693. if err := dec(in); err != nil {
  694. return nil, err
  695. }
  696. if interceptor == nil {
  697. return srv.(ChatServer).FindChatRoomMsg(ctx, in)
  698. }
  699. info := &grpc.UnaryServerInfo{
  700. Server: srv,
  701. FullMethod: "/api.chat.Chat/FindChatRoomMsg",
  702. }
  703. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  704. return srv.(ChatServer).FindChatRoomMsg(ctx, req.(*FindChatRoomMsgRequest))
  705. }
  706. return interceptor(ctx, in, info, handler)
  707. }
  708. func _Chat_SetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  709. in := new(SetBlackChatParam)
  710. if err := dec(in); err != nil {
  711. return nil, err
  712. }
  713. if interceptor == nil {
  714. return srv.(ChatServer).SetBlackChat(ctx, in)
  715. }
  716. info := &grpc.UnaryServerInfo{
  717. Server: srv,
  718. FullMethod: "/api.chat.Chat/SetBlackChat",
  719. }
  720. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  721. return srv.(ChatServer).SetBlackChat(ctx, req.(*SetBlackChatParam))
  722. }
  723. return interceptor(ctx, in, info, handler)
  724. }
  725. func _Chat_DeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  726. in := new(SetBlackChatParam)
  727. if err := dec(in); err != nil {
  728. return nil, err
  729. }
  730. if interceptor == nil {
  731. return srv.(ChatServer).DeleteChat(ctx, in)
  732. }
  733. info := &grpc.UnaryServerInfo{
  734. Server: srv,
  735. FullMethod: "/api.chat.Chat/DeleteChat",
  736. }
  737. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  738. return srv.(ChatServer).DeleteChat(ctx, req.(*SetBlackChatParam))
  739. }
  740. return interceptor(ctx, in, info, handler)
  741. }
  742. func _Chat_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  743. in := new(common.ReportRequest)
  744. if err := dec(in); err != nil {
  745. return nil, err
  746. }
  747. if interceptor == nil {
  748. return srv.(ChatServer).Report(ctx, in)
  749. }
  750. info := &grpc.UnaryServerInfo{
  751. Server: srv,
  752. FullMethod: "/api.chat.Chat/Report",
  753. }
  754. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  755. return srv.(ChatServer).Report(ctx, req.(*common.ReportRequest))
  756. }
  757. return interceptor(ctx, in, info, handler)
  758. }
  759. func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  760. in := new(FindRoomCardMsgRequest)
  761. if err := dec(in); err != nil {
  762. return nil, err
  763. }
  764. if interceptor == nil {
  765. return srv.(ChatServer).FindRoomCardMsg(ctx, in)
  766. }
  767. info := &grpc.UnaryServerInfo{
  768. Server: srv,
  769. FullMethod: "/api.chat.Chat/FindRoomCardMsg",
  770. }
  771. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  772. return srv.(ChatServer).FindRoomCardMsg(ctx, req.(*FindRoomCardMsgRequest))
  773. }
  774. return interceptor(ctx, in, info, handler)
  775. }
  776. func _Chat_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  777. in := new(common.MatchingRequest)
  778. if err := dec(in); err != nil {
  779. return nil, err
  780. }
  781. if interceptor == nil {
  782. return srv.(ChatServer).GetWindowInfo(ctx, in)
  783. }
  784. info := &grpc.UnaryServerInfo{
  785. Server: srv,
  786. FullMethod: "/api.chat.Chat/GetWindowInfo",
  787. }
  788. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  789. return srv.(ChatServer).GetWindowInfo(ctx, req.(*common.MatchingRequest))
  790. }
  791. return interceptor(ctx, in, info, handler)
  792. }
  793. func _Chat_GetRandomMatching_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  794. in := new(common.MatchingRequest)
  795. if err := dec(in); err != nil {
  796. return nil, err
  797. }
  798. if interceptor == nil {
  799. return srv.(ChatServer).GetRandomMatching(ctx, in)
  800. }
  801. info := &grpc.UnaryServerInfo{
  802. Server: srv,
  803. FullMethod: "/api.chat.Chat/GetRandomMatching",
  804. }
  805. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  806. return srv.(ChatServer).GetRandomMatching(ctx, req.(*common.MatchingRequest))
  807. }
  808. return interceptor(ctx, in, info, handler)
  809. }
  810. func _Chat_GetMatchingPartnerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  811. in := new(GetMatchingPartnerInfoRequest)
  812. if err := dec(in); err != nil {
  813. return nil, err
  814. }
  815. if interceptor == nil {
  816. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, in)
  817. }
  818. info := &grpc.UnaryServerInfo{
  819. Server: srv,
  820. FullMethod: "/api.chat.Chat/GetMatchingPartnerInfo",
  821. }
  822. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  823. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, req.(*GetMatchingPartnerInfoRequest))
  824. }
  825. return interceptor(ctx, in, info, handler)
  826. }
  827. func _Chat_AccurateMatchingUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  828. in := new(AccurateMatchingUserInfoRequest)
  829. if err := dec(in); err != nil {
  830. return nil, err
  831. }
  832. if interceptor == nil {
  833. return srv.(ChatServer).AccurateMatchingUserInfo(ctx, in)
  834. }
  835. info := &grpc.UnaryServerInfo{
  836. Server: srv,
  837. FullMethod: "/api.chat.Chat/AccurateMatchingUserInfo",
  838. }
  839. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  840. return srv.(ChatServer).AccurateMatchingUserInfo(ctx, req.(*AccurateMatchingUserInfoRequest))
  841. }
  842. return interceptor(ctx, in, info, handler)
  843. }
  844. func _Chat_PartnerCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  845. in := new(PartnerCollectIDsRequest)
  846. if err := dec(in); err != nil {
  847. return nil, err
  848. }
  849. if interceptor == nil {
  850. return srv.(ChatServer).PartnerCollect(ctx, in)
  851. }
  852. info := &grpc.UnaryServerInfo{
  853. Server: srv,
  854. FullMethod: "/api.chat.Chat/PartnerCollect",
  855. }
  856. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  857. return srv.(ChatServer).PartnerCollect(ctx, req.(*PartnerCollectIDsRequest))
  858. }
  859. return interceptor(ctx, in, info, handler)
  860. }
  861. func _Chat_PartnerDeleteCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  862. in := new(PartnerCollectRequest)
  863. if err := dec(in); err != nil {
  864. return nil, err
  865. }
  866. if interceptor == nil {
  867. return srv.(ChatServer).PartnerDeleteCollect(ctx, in)
  868. }
  869. info := &grpc.UnaryServerInfo{
  870. Server: srv,
  871. FullMethod: "/api.chat.Chat/PartnerDeleteCollect",
  872. }
  873. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  874. return srv.(ChatServer).PartnerDeleteCollect(ctx, req.(*PartnerCollectRequest))
  875. }
  876. return interceptor(ctx, in, info, handler)
  877. }
  878. func _Chat_FindChatCollectList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  879. in := new(FindChatRecordListRequest)
  880. if err := dec(in); err != nil {
  881. return nil, err
  882. }
  883. if interceptor == nil {
  884. return srv.(ChatServer).FindChatCollectList(ctx, in)
  885. }
  886. info := &grpc.UnaryServerInfo{
  887. Server: srv,
  888. FullMethod: "/api.chat.Chat/FindChatCollectList",
  889. }
  890. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  891. return srv.(ChatServer).FindChatCollectList(ctx, req.(*FindChatRecordListRequest))
  892. }
  893. return interceptor(ctx, in, info, handler)
  894. }
  895. func _Chat_UserUnlockVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  896. in := new(UserUnlockRequest)
  897. if err := dec(in); err != nil {
  898. return nil, err
  899. }
  900. if interceptor == nil {
  901. return srv.(ChatServer).UserUnlockVoice(ctx, in)
  902. }
  903. info := &grpc.UnaryServerInfo{
  904. Server: srv,
  905. FullMethod: "/api.chat.Chat/UserUnlockVoice",
  906. }
  907. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  908. return srv.(ChatServer).UserUnlockVoice(ctx, req.(*UserUnlockRequest))
  909. }
  910. return interceptor(ctx, in, info, handler)
  911. }
  912. func _Chat_UserUnlockPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  913. in := new(UserUnlockRequest)
  914. if err := dec(in); err != nil {
  915. return nil, err
  916. }
  917. if interceptor == nil {
  918. return srv.(ChatServer).UserUnlockPicture(ctx, in)
  919. }
  920. info := &grpc.UnaryServerInfo{
  921. Server: srv,
  922. FullMethod: "/api.chat.Chat/UserUnlockPicture",
  923. }
  924. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  925. return srv.(ChatServer).UserUnlockPicture(ctx, req.(*UserUnlockRequest))
  926. }
  927. return interceptor(ctx, in, info, handler)
  928. }
  929. func _Chat_GetRoomProfit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  930. in := new(common.RoomIDRequest)
  931. if err := dec(in); err != nil {
  932. return nil, err
  933. }
  934. if interceptor == nil {
  935. return srv.(ChatServer).GetRoomProfit(ctx, in)
  936. }
  937. info := &grpc.UnaryServerInfo{
  938. Server: srv,
  939. FullMethod: "/api.chat.Chat/GetRoomProfit",
  940. }
  941. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  942. return srv.(ChatServer).GetRoomProfit(ctx, req.(*common.RoomIDRequest))
  943. }
  944. return interceptor(ctx, in, info, handler)
  945. }
  946. func _Chat_GetOnlinePersonNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  947. in := new(emptypb.Empty)
  948. if err := dec(in); err != nil {
  949. return nil, err
  950. }
  951. if interceptor == nil {
  952. return srv.(ChatServer).GetOnlinePersonNum(ctx, in)
  953. }
  954. info := &grpc.UnaryServerInfo{
  955. Server: srv,
  956. FullMethod: "/api.chat.Chat/GetOnlinePersonNum",
  957. }
  958. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  959. return srv.(ChatServer).GetOnlinePersonNum(ctx, req.(*emptypb.Empty))
  960. }
  961. return interceptor(ctx, in, info, handler)
  962. }
  963. func _Chat_FindUserAllUnreadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  964. in := new(common.PersonIDParam)
  965. if err := dec(in); err != nil {
  966. return nil, err
  967. }
  968. if interceptor == nil {
  969. return srv.(ChatServer).FindUserAllUnreadNum(ctx, in)
  970. }
  971. info := &grpc.UnaryServerInfo{
  972. Server: srv,
  973. FullMethod: "/api.chat.Chat/FindUserAllUnreadNum",
  974. }
  975. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  976. return srv.(ChatServer).FindUserAllUnreadNum(ctx, req.(*common.PersonIDParam))
  977. }
  978. return interceptor(ctx, in, info, handler)
  979. }
  980. func _Chat_GetUserRoomByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  981. in := new(common.UserIDsParam)
  982. if err := dec(in); err != nil {
  983. return nil, err
  984. }
  985. if interceptor == nil {
  986. return srv.(ChatServer).GetUserRoomByPerson(ctx, in)
  987. }
  988. info := &grpc.UnaryServerInfo{
  989. Server: srv,
  990. FullMethod: "/api.chat.Chat/GetUserRoomByPerson",
  991. }
  992. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  993. return srv.(ChatServer).GetUserRoomByPerson(ctx, req.(*common.UserIDsParam))
  994. }
  995. return interceptor(ctx, in, info, handler)
  996. }
  997. func _Chat_GetSuperLoveByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  998. in := new(common.UserIDsParam)
  999. if err := dec(in); err != nil {
  1000. return nil, err
  1001. }
  1002. if interceptor == nil {
  1003. return srv.(ChatServer).GetSuperLoveByPerson(ctx, in)
  1004. }
  1005. info := &grpc.UnaryServerInfo{
  1006. Server: srv,
  1007. FullMethod: "/api.chat.Chat/GetSuperLoveByPerson",
  1008. }
  1009. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1010. return srv.(ChatServer).GetSuperLoveByPerson(ctx, req.(*common.UserIDsParam))
  1011. }
  1012. return interceptor(ctx, in, info, handler)
  1013. }
  1014. func _Chat_ManagerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1015. in := new(common.ManagerFindRoomListRequest)
  1016. if err := dec(in); err != nil {
  1017. return nil, err
  1018. }
  1019. if interceptor == nil {
  1020. return srv.(ChatServer).ManagerFindRoomList(ctx, in)
  1021. }
  1022. info := &grpc.UnaryServerInfo{
  1023. Server: srv,
  1024. FullMethod: "/api.chat.Chat/ManagerFindRoomList",
  1025. }
  1026. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1027. return srv.(ChatServer).ManagerFindRoomList(ctx, req.(*common.ManagerFindRoomListRequest))
  1028. }
  1029. return interceptor(ctx, in, info, handler)
  1030. }
  1031. func _Chat_ManagerFindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1032. in := new(common.ManagerFindChatRecordListRequest)
  1033. if err := dec(in); err != nil {
  1034. return nil, err
  1035. }
  1036. if interceptor == nil {
  1037. return srv.(ChatServer).ManagerFindChatRecordList(ctx, in)
  1038. }
  1039. info := &grpc.UnaryServerInfo{
  1040. Server: srv,
  1041. FullMethod: "/api.chat.Chat/ManagerFindChatRecordList",
  1042. }
  1043. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1044. return srv.(ChatServer).ManagerFindChatRecordList(ctx, req.(*common.ManagerFindChatRecordListRequest))
  1045. }
  1046. return interceptor(ctx, in, info, handler)
  1047. }
  1048. func _Chat_ManagerFindReportList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1049. in := new(common.ManagerFindReportListRequest)
  1050. if err := dec(in); err != nil {
  1051. return nil, err
  1052. }
  1053. if interceptor == nil {
  1054. return srv.(ChatServer).ManagerFindReportList(ctx, in)
  1055. }
  1056. info := &grpc.UnaryServerInfo{
  1057. Server: srv,
  1058. FullMethod: "/api.chat.Chat/ManagerFindReportList",
  1059. }
  1060. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1061. return srv.(ChatServer).ManagerFindReportList(ctx, req.(*common.ManagerFindReportListRequest))
  1062. }
  1063. return interceptor(ctx, in, info, handler)
  1064. }
  1065. func _Chat_ManagerFindReportDetailsList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1066. in := new(common.ManagerFindReportDetailsListRequest)
  1067. if err := dec(in); err != nil {
  1068. return nil, err
  1069. }
  1070. if interceptor == nil {
  1071. return srv.(ChatServer).ManagerFindReportDetailsList(ctx, in)
  1072. }
  1073. info := &grpc.UnaryServerInfo{
  1074. Server: srv,
  1075. FullMethod: "/api.chat.Chat/ManagerFindReportDetailsList",
  1076. }
  1077. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1078. return srv.(ChatServer).ManagerFindReportDetailsList(ctx, req.(*common.ManagerFindReportDetailsListRequest))
  1079. }
  1080. return interceptor(ctx, in, info, handler)
  1081. }
  1082. func _Chat_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1083. in := new(SendMessageRequest)
  1084. if err := dec(in); err != nil {
  1085. return nil, err
  1086. }
  1087. if interceptor == nil {
  1088. return srv.(ChatServer).SendMessage(ctx, in)
  1089. }
  1090. info := &grpc.UnaryServerInfo{
  1091. Server: srv,
  1092. FullMethod: "/api.chat.Chat/SendMessage",
  1093. }
  1094. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1095. return srv.(ChatServer).SendMessage(ctx, req.(*SendMessageRequest))
  1096. }
  1097. return interceptor(ctx, in, info, handler)
  1098. }
  1099. func _Chat_ScripCreateRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1100. in := new(ScripCreateRoomRequest)
  1101. if err := dec(in); err != nil {
  1102. return nil, err
  1103. }
  1104. if interceptor == nil {
  1105. return srv.(ChatServer).ScripCreateRoom(ctx, in)
  1106. }
  1107. info := &grpc.UnaryServerInfo{
  1108. Server: srv,
  1109. FullMethod: "/api.chat.Chat/ScripCreateRoom",
  1110. }
  1111. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1112. return srv.(ChatServer).ScripCreateRoom(ctx, req.(*ScripCreateRoomRequest))
  1113. }
  1114. return interceptor(ctx, in, info, handler)
  1115. }
  1116. func _Chat_CleanUserUnReadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1117. in := new(common.PersonIDParam)
  1118. if err := dec(in); err != nil {
  1119. return nil, err
  1120. }
  1121. if interceptor == nil {
  1122. return srv.(ChatServer).CleanUserUnReadNum(ctx, in)
  1123. }
  1124. info := &grpc.UnaryServerInfo{
  1125. Server: srv,
  1126. FullMethod: "/api.chat.Chat/CleanUserUnReadNum",
  1127. }
  1128. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1129. return srv.(ChatServer).CleanUserUnReadNum(ctx, req.(*common.PersonIDParam))
  1130. }
  1131. return interceptor(ctx, in, info, handler)
  1132. }
  1133. // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
  1134. // It's only intended for direct use with grpc.RegisterService,
  1135. // and not to be introspected or modified (even as a copy)
  1136. var Chat_ServiceDesc = grpc.ServiceDesc{
  1137. ServiceName: "api.chat.Chat",
  1138. HandlerType: (*ChatServer)(nil),
  1139. Methods: []grpc.MethodDesc{
  1140. {
  1141. MethodName: "CheckUserPartnerIsRelationship",
  1142. Handler: _Chat_CheckUserPartnerIsRelationship_Handler,
  1143. },
  1144. {
  1145. MethodName: "CreateChatRoom",
  1146. Handler: _Chat_CreateChatRoom_Handler,
  1147. },
  1148. {
  1149. MethodName: "FindOnlinePersonList",
  1150. Handler: _Chat_FindOnlinePersonList_Handler,
  1151. },
  1152. {
  1153. MethodName: "FindRecommendPersonList",
  1154. Handler: _Chat_FindRecommendPersonList_Handler,
  1155. },
  1156. {
  1157. MethodName: "PartnerFindRoomList",
  1158. Handler: _Chat_PartnerFindRoomList_Handler,
  1159. },
  1160. {
  1161. MethodName: "UserFindRoomList",
  1162. Handler: _Chat_UserFindRoomList_Handler,
  1163. },
  1164. {
  1165. MethodName: "Receive",
  1166. Handler: _Chat_Receive_Handler,
  1167. },
  1168. {
  1169. MethodName: "FindChatRecordList",
  1170. Handler: _Chat_FindChatRecordList_Handler,
  1171. },
  1172. {
  1173. MethodName: "FindChatRoomMsg",
  1174. Handler: _Chat_FindChatRoomMsg_Handler,
  1175. },
  1176. {
  1177. MethodName: "SetBlackChat",
  1178. Handler: _Chat_SetBlackChat_Handler,
  1179. },
  1180. {
  1181. MethodName: "DeleteChat",
  1182. Handler: _Chat_DeleteChat_Handler,
  1183. },
  1184. {
  1185. MethodName: "Report",
  1186. Handler: _Chat_Report_Handler,
  1187. },
  1188. {
  1189. MethodName: "FindRoomCardMsg",
  1190. Handler: _Chat_FindRoomCardMsg_Handler,
  1191. },
  1192. {
  1193. MethodName: "GetWindowInfo",
  1194. Handler: _Chat_GetWindowInfo_Handler,
  1195. },
  1196. {
  1197. MethodName: "GetRandomMatching",
  1198. Handler: _Chat_GetRandomMatching_Handler,
  1199. },
  1200. {
  1201. MethodName: "GetMatchingPartnerInfo",
  1202. Handler: _Chat_GetMatchingPartnerInfo_Handler,
  1203. },
  1204. {
  1205. MethodName: "AccurateMatchingUserInfo",
  1206. Handler: _Chat_AccurateMatchingUserInfo_Handler,
  1207. },
  1208. {
  1209. MethodName: "PartnerCollect",
  1210. Handler: _Chat_PartnerCollect_Handler,
  1211. },
  1212. {
  1213. MethodName: "PartnerDeleteCollect",
  1214. Handler: _Chat_PartnerDeleteCollect_Handler,
  1215. },
  1216. {
  1217. MethodName: "FindChatCollectList",
  1218. Handler: _Chat_FindChatCollectList_Handler,
  1219. },
  1220. {
  1221. MethodName: "UserUnlockVoice",
  1222. Handler: _Chat_UserUnlockVoice_Handler,
  1223. },
  1224. {
  1225. MethodName: "UserUnlockPicture",
  1226. Handler: _Chat_UserUnlockPicture_Handler,
  1227. },
  1228. {
  1229. MethodName: "GetRoomProfit",
  1230. Handler: _Chat_GetRoomProfit_Handler,
  1231. },
  1232. {
  1233. MethodName: "GetOnlinePersonNum",
  1234. Handler: _Chat_GetOnlinePersonNum_Handler,
  1235. },
  1236. {
  1237. MethodName: "FindUserAllUnreadNum",
  1238. Handler: _Chat_FindUserAllUnreadNum_Handler,
  1239. },
  1240. {
  1241. MethodName: "GetUserRoomByPerson",
  1242. Handler: _Chat_GetUserRoomByPerson_Handler,
  1243. },
  1244. {
  1245. MethodName: "GetSuperLoveByPerson",
  1246. Handler: _Chat_GetSuperLoveByPerson_Handler,
  1247. },
  1248. {
  1249. MethodName: "ManagerFindRoomList",
  1250. Handler: _Chat_ManagerFindRoomList_Handler,
  1251. },
  1252. {
  1253. MethodName: "ManagerFindChatRecordList",
  1254. Handler: _Chat_ManagerFindChatRecordList_Handler,
  1255. },
  1256. {
  1257. MethodName: "ManagerFindReportList",
  1258. Handler: _Chat_ManagerFindReportList_Handler,
  1259. },
  1260. {
  1261. MethodName: "ManagerFindReportDetailsList",
  1262. Handler: _Chat_ManagerFindReportDetailsList_Handler,
  1263. },
  1264. {
  1265. MethodName: "SendMessage",
  1266. Handler: _Chat_SendMessage_Handler,
  1267. },
  1268. {
  1269. MethodName: "ScripCreateRoom",
  1270. Handler: _Chat_ScripCreateRoom_Handler,
  1271. },
  1272. {
  1273. MethodName: "CleanUserUnReadNum",
  1274. Handler: _Chat_CleanUserUnReadNum_Handler,
  1275. },
  1276. },
  1277. Streams: []grpc.StreamDesc{},
  1278. Metadata: "chat.proto",
  1279. }