chat_grpc.pb.go 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777
  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. CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
  47. // 删除纸条
  48. DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  49. // 查询自己的小纸条
  50. FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  51. // 查询别人的小纸条
  52. FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  53. // 查询随机纸条列表
  54. FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  55. // 用户查看纸条
  56. PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  57. // 用户点击回看
  58. PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
  59. // 回复小纸条
  60. PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
  61. // 获取假弹窗
  62. GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error)
  63. // 随机匹配
  64. GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error)
  65. // 随机匹配接待员
  66. GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error)
  67. // 精确匹配用户
  68. AccurateMatchingUserInfo(ctx context.Context, in *AccurateMatchingUserInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error)
  69. // 接待员收藏某条记录
  70. PartnerCollect(ctx context.Context, in *PartnerCollectIDsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  71. // 接待员取消收藏某条记录
  72. PartnerDeleteCollect(ctx context.Context, in *PartnerCollectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  73. // 查询接待员在本房间的收藏列表
  74. FindChatCollectList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  75. // 用户解锁语音
  76. UserUnlockVoice(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  77. // 用户解锁图片
  78. UserUnlockPicture(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  79. // 获取房间的接待员收益
  80. GetRoomProfit(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*GetRoomProfitReply, error)
  81. // 获取在线人数
  82. GetOnlinePersonNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOnlinePersonNumReply, error)
  83. // 查询用户全部的未读数
  84. FindUserAllUnreadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*UnreadNumReply, error)
  85. // 用户查询与某人的房间
  86. GetUserRoomByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserRoomInfo, error)
  87. // 用户查询对某人是否是超级喜欢
  88. GetSuperLoveByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserSuperLoveInfo, error)
  89. // 管理员查询房间列表
  90. ManagerFindRoomList(ctx context.Context, in *common.ManagerFindRoomListRequest, opts ...grpc.CallOption) (*common.ManagerFindRoomListReply, error)
  91. // 管理员查询聊天记录
  92. ManagerFindChatRecordList(ctx context.Context, in *common.ManagerFindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  93. // 管理员查询纸条列表
  94. ManagerFindScripList(ctx context.Context, in *common.ManagerFindScripListRequest, opts ...grpc.CallOption) (*common.ManagerScripReply, error)
  95. // 管理员更新纸条文字
  96. ManagerUpdateScripText(ctx context.Context, in *common.ManagerUpdateScripTextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  97. // 管理员更新纸条图片
  98. ManagerUpdateScripPicture(ctx context.Context, in *common.ManagerUpdateScripPictureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  99. // 管理员删除纸条
  100. ManagerDeleteScrip(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  101. // 管理员查询举报列表
  102. ManagerFindReportList(ctx context.Context, in *common.ManagerFindReportListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportListReply, error)
  103. // 管理员查询某个举报者的举报详情列表
  104. ManagerFindReportDetailsList(ctx context.Context, in *common.ManagerFindReportDetailsListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportDetailsListReply, error)
  105. // 用户被拉黑后删除精选中的小纸条
  106. DeleteScripByPersonID(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  107. // 发送消息
  108. SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
  109. }
  110. type chatClient struct {
  111. cc grpc.ClientConnInterface
  112. }
  113. func NewChatClient(cc grpc.ClientConnInterface) ChatClient {
  114. return &chatClient{cc}
  115. }
  116. func (c *chatClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error) {
  117. out := new(CheckUserPartnerIsRelationshipReply)
  118. err := c.cc.Invoke(ctx, "/api.chat.Chat/CheckUserPartnerIsRelationship", in, out, opts...)
  119. if err != nil {
  120. return nil, err
  121. }
  122. return out, nil
  123. }
  124. func (c *chatClient) CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error) {
  125. out := new(RoomReply)
  126. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateChatRoom", in, out, opts...)
  127. if err != nil {
  128. return nil, err
  129. }
  130. return out, nil
  131. }
  132. func (c *chatClient) FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  133. out := new(common.RecommendPersonListReply)
  134. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOnlinePersonList", in, out, opts...)
  135. if err != nil {
  136. return nil, err
  137. }
  138. return out, nil
  139. }
  140. func (c *chatClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  141. out := new(common.RecommendPersonListReply)
  142. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendPersonList", in, out, opts...)
  143. if err != nil {
  144. return nil, err
  145. }
  146. return out, nil
  147. }
  148. func (c *chatClient) PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error) {
  149. out := new(PartnerFindRoomListReply)
  150. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerFindRoomList", in, out, opts...)
  151. if err != nil {
  152. return nil, err
  153. }
  154. return out, nil
  155. }
  156. func (c *chatClient) UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error) {
  157. out := new(UserFindRoomListReply)
  158. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserFindRoomList", in, out, opts...)
  159. if err != nil {
  160. return nil, err
  161. }
  162. return out, nil
  163. }
  164. func (c *chatClient) Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error) {
  165. out := new(ReceiveReply)
  166. err := c.cc.Invoke(ctx, "/api.chat.Chat/Receive", in, out, opts...)
  167. if err != nil {
  168. return nil, err
  169. }
  170. return out, nil
  171. }
  172. func (c *chatClient) FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  173. out := new(common.ChatRecordListReply)
  174. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRecordList", in, out, opts...)
  175. if err != nil {
  176. return nil, err
  177. }
  178. return out, nil
  179. }
  180. func (c *chatClient) FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  181. out := new(common.ChatRoomMsg)
  182. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRoomMsg", in, out, opts...)
  183. if err != nil {
  184. return nil, err
  185. }
  186. return out, nil
  187. }
  188. func (c *chatClient) SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  189. out := new(emptypb.Empty)
  190. err := c.cc.Invoke(ctx, "/api.chat.Chat/SetBlackChat", in, out, opts...)
  191. if err != nil {
  192. return nil, err
  193. }
  194. return out, nil
  195. }
  196. func (c *chatClient) DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  197. out := new(emptypb.Empty)
  198. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteChat", in, out, opts...)
  199. if err != nil {
  200. return nil, err
  201. }
  202. return out, nil
  203. }
  204. func (c *chatClient) Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  205. out := new(emptypb.Empty)
  206. err := c.cc.Invoke(ctx, "/api.chat.Chat/Report", in, out, opts...)
  207. if err != nil {
  208. return nil, err
  209. }
  210. return out, nil
  211. }
  212. func (c *chatClient) FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error) {
  213. out := new(common.RoomChatMsg)
  214. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRoomCardMsg", in, out, opts...)
  215. if err != nil {
  216. return nil, err
  217. }
  218. return out, nil
  219. }
  220. func (c *chatClient) CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
  221. out := new(common.ScripID)
  222. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateScrip", in, out, opts...)
  223. if err != nil {
  224. return nil, err
  225. }
  226. return out, nil
  227. }
  228. func (c *chatClient) DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  229. out := new(emptypb.Empty)
  230. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScrip", in, out, opts...)
  231. if err != nil {
  232. return nil, err
  233. }
  234. return out, nil
  235. }
  236. func (c *chatClient) FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  237. out := new(common.ScripReply)
  238. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindMyScrip", in, out, opts...)
  239. if err != nil {
  240. return nil, err
  241. }
  242. return out, nil
  243. }
  244. func (c *chatClient) FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  245. out := new(common.ScripReply)
  246. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOtherScrip", in, out, opts...)
  247. if err != nil {
  248. return nil, err
  249. }
  250. return out, nil
  251. }
  252. func (c *chatClient) FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  253. out := new(common.ScripReply)
  254. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendScrip", in, out, opts...)
  255. if err != nil {
  256. return nil, err
  257. }
  258. return out, nil
  259. }
  260. func (c *chatClient) PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  261. out := new(emptypb.Empty)
  262. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonLookScrip", in, out, opts...)
  263. if err != nil {
  264. return nil, err
  265. }
  266. return out, nil
  267. }
  268. func (c *chatClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
  269. out := new(common.ScripInfo)
  270. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonClickLookBack", in, out, opts...)
  271. if err != nil {
  272. return nil, err
  273. }
  274. return out, nil
  275. }
  276. func (c *chatClient) PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
  277. out := new(common.ChatRecordInfo)
  278. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonReplyScrip", in, out, opts...)
  279. if err != nil {
  280. return nil, err
  281. }
  282. return out, nil
  283. }
  284. func (c *chatClient) GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error) {
  285. out := new(WindowInfo)
  286. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetWindowInfo", in, out, opts...)
  287. if err != nil {
  288. return nil, err
  289. }
  290. return out, nil
  291. }
  292. func (c *chatClient) GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error) {
  293. out := new(GetRandomMatchingReply)
  294. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRandomMatching", in, out, opts...)
  295. if err != nil {
  296. return nil, err
  297. }
  298. return out, nil
  299. }
  300. func (c *chatClient) GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error) {
  301. out := new(common.GetMatchingPartnerInfoReply)
  302. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetMatchingPartnerInfo", in, out, opts...)
  303. if err != nil {
  304. return nil, err
  305. }
  306. return out, nil
  307. }
  308. func (c *chatClient) AccurateMatchingUserInfo(ctx context.Context, in *AccurateMatchingUserInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error) {
  309. out := new(common.GetMatchingPartnerInfoReply)
  310. err := c.cc.Invoke(ctx, "/api.chat.Chat/AccurateMatchingUserInfo", in, out, opts...)
  311. if err != nil {
  312. return nil, err
  313. }
  314. return out, nil
  315. }
  316. func (c *chatClient) PartnerCollect(ctx context.Context, in *PartnerCollectIDsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  317. out := new(emptypb.Empty)
  318. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerCollect", in, out, opts...)
  319. if err != nil {
  320. return nil, err
  321. }
  322. return out, nil
  323. }
  324. func (c *chatClient) PartnerDeleteCollect(ctx context.Context, in *PartnerCollectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  325. out := new(emptypb.Empty)
  326. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerDeleteCollect", in, out, opts...)
  327. if err != nil {
  328. return nil, err
  329. }
  330. return out, nil
  331. }
  332. func (c *chatClient) FindChatCollectList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  333. out := new(common.ChatRecordListReply)
  334. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatCollectList", in, out, opts...)
  335. if err != nil {
  336. return nil, err
  337. }
  338. return out, nil
  339. }
  340. func (c *chatClient) UserUnlockVoice(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  341. out := new(emptypb.Empty)
  342. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockVoice", in, out, opts...)
  343. if err != nil {
  344. return nil, err
  345. }
  346. return out, nil
  347. }
  348. func (c *chatClient) UserUnlockPicture(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  349. out := new(emptypb.Empty)
  350. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockPicture", in, out, opts...)
  351. if err != nil {
  352. return nil, err
  353. }
  354. return out, nil
  355. }
  356. func (c *chatClient) GetRoomProfit(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*GetRoomProfitReply, error) {
  357. out := new(GetRoomProfitReply)
  358. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRoomProfit", in, out, opts...)
  359. if err != nil {
  360. return nil, err
  361. }
  362. return out, nil
  363. }
  364. func (c *chatClient) GetOnlinePersonNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOnlinePersonNumReply, error) {
  365. out := new(GetOnlinePersonNumReply)
  366. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetOnlinePersonNum", in, out, opts...)
  367. if err != nil {
  368. return nil, err
  369. }
  370. return out, nil
  371. }
  372. func (c *chatClient) FindUserAllUnreadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*UnreadNumReply, error) {
  373. out := new(UnreadNumReply)
  374. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindUserAllUnreadNum", in, out, opts...)
  375. if err != nil {
  376. return nil, err
  377. }
  378. return out, nil
  379. }
  380. func (c *chatClient) GetUserRoomByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserRoomInfo, error) {
  381. out := new(UserRoomInfo)
  382. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetUserRoomByPerson", in, out, opts...)
  383. if err != nil {
  384. return nil, err
  385. }
  386. return out, nil
  387. }
  388. func (c *chatClient) GetSuperLoveByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserSuperLoveInfo, error) {
  389. out := new(UserSuperLoveInfo)
  390. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetSuperLoveByPerson", in, out, opts...)
  391. if err != nil {
  392. return nil, err
  393. }
  394. return out, nil
  395. }
  396. func (c *chatClient) ManagerFindRoomList(ctx context.Context, in *common.ManagerFindRoomListRequest, opts ...grpc.CallOption) (*common.ManagerFindRoomListReply, error) {
  397. out := new(common.ManagerFindRoomListReply)
  398. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindRoomList", in, out, opts...)
  399. if err != nil {
  400. return nil, err
  401. }
  402. return out, nil
  403. }
  404. func (c *chatClient) ManagerFindChatRecordList(ctx context.Context, in *common.ManagerFindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  405. out := new(common.ChatRecordListReply)
  406. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindChatRecordList", in, out, opts...)
  407. if err != nil {
  408. return nil, err
  409. }
  410. return out, nil
  411. }
  412. func (c *chatClient) ManagerFindScripList(ctx context.Context, in *common.ManagerFindScripListRequest, opts ...grpc.CallOption) (*common.ManagerScripReply, error) {
  413. out := new(common.ManagerScripReply)
  414. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindScripList", in, out, opts...)
  415. if err != nil {
  416. return nil, err
  417. }
  418. return out, nil
  419. }
  420. func (c *chatClient) ManagerUpdateScripText(ctx context.Context, in *common.ManagerUpdateScripTextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  421. out := new(emptypb.Empty)
  422. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerUpdateScripText", in, out, opts...)
  423. if err != nil {
  424. return nil, err
  425. }
  426. return out, nil
  427. }
  428. func (c *chatClient) ManagerUpdateScripPicture(ctx context.Context, in *common.ManagerUpdateScripPictureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  429. out := new(emptypb.Empty)
  430. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerUpdateScripPicture", in, out, opts...)
  431. if err != nil {
  432. return nil, err
  433. }
  434. return out, nil
  435. }
  436. func (c *chatClient) ManagerDeleteScrip(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  437. out := new(emptypb.Empty)
  438. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerDeleteScrip", in, out, opts...)
  439. if err != nil {
  440. return nil, err
  441. }
  442. return out, nil
  443. }
  444. func (c *chatClient) ManagerFindReportList(ctx context.Context, in *common.ManagerFindReportListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportListReply, error) {
  445. out := new(common.ManagerFindReportListReply)
  446. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindReportList", in, out, opts...)
  447. if err != nil {
  448. return nil, err
  449. }
  450. return out, nil
  451. }
  452. func (c *chatClient) ManagerFindReportDetailsList(ctx context.Context, in *common.ManagerFindReportDetailsListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportDetailsListReply, error) {
  453. out := new(common.ManagerFindReportDetailsListReply)
  454. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindReportDetailsList", in, out, opts...)
  455. if err != nil {
  456. return nil, err
  457. }
  458. return out, nil
  459. }
  460. func (c *chatClient) DeleteScripByPersonID(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  461. out := new(emptypb.Empty)
  462. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScripByPersonID", in, out, opts...)
  463. if err != nil {
  464. return nil, err
  465. }
  466. return out, nil
  467. }
  468. func (c *chatClient) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error) {
  469. out := new(common.SendMessageReply)
  470. err := c.cc.Invoke(ctx, "/api.chat.Chat/SendMessage", in, out, opts...)
  471. if err != nil {
  472. return nil, err
  473. }
  474. return out, nil
  475. }
  476. // ChatServer is the server API for Chat service.
  477. // All implementations must embed UnimplementedChatServer
  478. // for forward compatibility
  479. type ChatServer interface {
  480. // 检查用户是否与接待员聊天
  481. CheckUserPartnerIsRelationship(context.Context, *common.UserIDsParam) (*CheckUserPartnerIsRelationshipReply, error)
  482. // 创建聊天房间
  483. CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error)
  484. // 查询在线人的列表
  485. FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error)
  486. // 查询推荐人的列表
  487. FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
  488. // 接待员查询房间列表
  489. PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error)
  490. // 用户查询房间列表
  491. UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error)
  492. // websocket调用
  493. Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error)
  494. // 查询聊天记录
  495. FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  496. // 房间信息
  497. FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  498. // 拉黑
  499. SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  500. // 删除房间
  501. DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  502. // 拉黑
  503. Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error)
  504. // 房间信息
  505. FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
  506. // 创建纸条
  507. CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error)
  508. // 删除纸条
  509. DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error)
  510. // 查询自己的小纸条
  511. FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  512. // 查询别人的小纸条
  513. FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error)
  514. // 查询随机纸条列表
  515. FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  516. // 用户查看纸条
  517. PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error)
  518. // 用户点击回看
  519. PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
  520. // 回复小纸条
  521. PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error)
  522. // 获取假弹窗
  523. GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error)
  524. // 随机匹配
  525. GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error)
  526. // 随机匹配接待员
  527. GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error)
  528. // 精确匹配用户
  529. AccurateMatchingUserInfo(context.Context, *AccurateMatchingUserInfoRequest) (*common.GetMatchingPartnerInfoReply, error)
  530. // 接待员收藏某条记录
  531. PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error)
  532. // 接待员取消收藏某条记录
  533. PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error)
  534. // 查询接待员在本房间的收藏列表
  535. FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  536. // 用户解锁语音
  537. UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  538. // 用户解锁图片
  539. UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  540. // 获取房间的接待员收益
  541. GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error)
  542. // 获取在线人数
  543. GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error)
  544. // 查询用户全部的未读数
  545. FindUserAllUnreadNum(context.Context, *common.PersonIDParam) (*UnreadNumReply, error)
  546. // 用户查询与某人的房间
  547. GetUserRoomByPerson(context.Context, *common.UserIDsParam) (*UserRoomInfo, error)
  548. // 用户查询对某人是否是超级喜欢
  549. GetSuperLoveByPerson(context.Context, *common.UserIDsParam) (*UserSuperLoveInfo, error)
  550. // 管理员查询房间列表
  551. ManagerFindRoomList(context.Context, *common.ManagerFindRoomListRequest) (*common.ManagerFindRoomListReply, error)
  552. // 管理员查询聊天记录
  553. ManagerFindChatRecordList(context.Context, *common.ManagerFindChatRecordListRequest) (*common.ChatRecordListReply, error)
  554. // 管理员查询纸条列表
  555. ManagerFindScripList(context.Context, *common.ManagerFindScripListRequest) (*common.ManagerScripReply, error)
  556. // 管理员更新纸条文字
  557. ManagerUpdateScripText(context.Context, *common.ManagerUpdateScripTextRequest) (*emptypb.Empty, error)
  558. // 管理员更新纸条图片
  559. ManagerUpdateScripPicture(context.Context, *common.ManagerUpdateScripPictureRequest) (*emptypb.Empty, error)
  560. // 管理员删除纸条
  561. ManagerDeleteScrip(context.Context, *common.IDParam) (*emptypb.Empty, error)
  562. // 管理员查询举报列表
  563. ManagerFindReportList(context.Context, *common.ManagerFindReportListRequest) (*common.ManagerFindReportListReply, error)
  564. // 管理员查询某个举报者的举报详情列表
  565. ManagerFindReportDetailsList(context.Context, *common.ManagerFindReportDetailsListRequest) (*common.ManagerFindReportDetailsListReply, error)
  566. // 用户被拉黑后删除精选中的小纸条
  567. DeleteScripByPersonID(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
  568. // 发送消息
  569. SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
  570. mustEmbedUnimplementedChatServer()
  571. }
  572. // UnimplementedChatServer must be embedded to have forward compatible implementations.
  573. type UnimplementedChatServer struct {
  574. }
  575. func (UnimplementedChatServer) CheckUserPartnerIsRelationship(context.Context, *common.UserIDsParam) (*CheckUserPartnerIsRelationshipReply, error) {
  576. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  577. }
  578. func (UnimplementedChatServer) CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error) {
  579. return nil, status.Errorf(codes.Unimplemented, "method CreateChatRoom not implemented")
  580. }
  581. func (UnimplementedChatServer) FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error) {
  582. return nil, status.Errorf(codes.Unimplemented, "method FindOnlinePersonList not implemented")
  583. }
  584. func (UnimplementedChatServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
  585. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
  586. }
  587. func (UnimplementedChatServer) PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error) {
  588. return nil, status.Errorf(codes.Unimplemented, "method PartnerFindRoomList not implemented")
  589. }
  590. func (UnimplementedChatServer) UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error) {
  591. return nil, status.Errorf(codes.Unimplemented, "method UserFindRoomList not implemented")
  592. }
  593. func (UnimplementedChatServer) Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error) {
  594. return nil, status.Errorf(codes.Unimplemented, "method Receive not implemented")
  595. }
  596. func (UnimplementedChatServer) FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  597. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  598. }
  599. func (UnimplementedChatServer) FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  600. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  601. }
  602. func (UnimplementedChatServer) SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  603. return nil, status.Errorf(codes.Unimplemented, "method SetBlackChat not implemented")
  604. }
  605. func (UnimplementedChatServer) DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  606. return nil, status.Errorf(codes.Unimplemented, "method DeleteChat not implemented")
  607. }
  608. func (UnimplementedChatServer) Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error) {
  609. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  610. }
  611. func (UnimplementedChatServer) FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error) {
  612. return nil, status.Errorf(codes.Unimplemented, "method FindRoomCardMsg not implemented")
  613. }
  614. func (UnimplementedChatServer) CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error) {
  615. return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
  616. }
  617. func (UnimplementedChatServer) DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error) {
  618. return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
  619. }
  620. func (UnimplementedChatServer) FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  621. return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
  622. }
  623. func (UnimplementedChatServer) FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error) {
  624. return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
  625. }
  626. func (UnimplementedChatServer) FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  627. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
  628. }
  629. func (UnimplementedChatServer) PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error) {
  630. return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
  631. }
  632. func (UnimplementedChatServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
  633. return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
  634. }
  635. func (UnimplementedChatServer) PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error) {
  636. return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
  637. }
  638. func (UnimplementedChatServer) GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error) {
  639. return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
  640. }
  641. func (UnimplementedChatServer) GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error) {
  642. return nil, status.Errorf(codes.Unimplemented, "method GetRandomMatching not implemented")
  643. }
  644. func (UnimplementedChatServer) GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error) {
  645. return nil, status.Errorf(codes.Unimplemented, "method GetMatchingPartnerInfo not implemented")
  646. }
  647. func (UnimplementedChatServer) AccurateMatchingUserInfo(context.Context, *AccurateMatchingUserInfoRequest) (*common.GetMatchingPartnerInfoReply, error) {
  648. return nil, status.Errorf(codes.Unimplemented, "method AccurateMatchingUserInfo not implemented")
  649. }
  650. func (UnimplementedChatServer) PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error) {
  651. return nil, status.Errorf(codes.Unimplemented, "method PartnerCollect not implemented")
  652. }
  653. func (UnimplementedChatServer) PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error) {
  654. return nil, status.Errorf(codes.Unimplemented, "method PartnerDeleteCollect not implemented")
  655. }
  656. func (UnimplementedChatServer) FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  657. return nil, status.Errorf(codes.Unimplemented, "method FindChatCollectList not implemented")
  658. }
  659. func (UnimplementedChatServer) UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  660. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockVoice not implemented")
  661. }
  662. func (UnimplementedChatServer) UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  663. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockPicture not implemented")
  664. }
  665. func (UnimplementedChatServer) GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error) {
  666. return nil, status.Errorf(codes.Unimplemented, "method GetRoomProfit not implemented")
  667. }
  668. func (UnimplementedChatServer) GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error) {
  669. return nil, status.Errorf(codes.Unimplemented, "method GetOnlinePersonNum not implemented")
  670. }
  671. func (UnimplementedChatServer) FindUserAllUnreadNum(context.Context, *common.PersonIDParam) (*UnreadNumReply, error) {
  672. return nil, status.Errorf(codes.Unimplemented, "method FindUserAllUnreadNum not implemented")
  673. }
  674. func (UnimplementedChatServer) GetUserRoomByPerson(context.Context, *common.UserIDsParam) (*UserRoomInfo, error) {
  675. return nil, status.Errorf(codes.Unimplemented, "method GetUserRoomByPerson not implemented")
  676. }
  677. func (UnimplementedChatServer) GetSuperLoveByPerson(context.Context, *common.UserIDsParam) (*UserSuperLoveInfo, error) {
  678. return nil, status.Errorf(codes.Unimplemented, "method GetSuperLoveByPerson not implemented")
  679. }
  680. func (UnimplementedChatServer) ManagerFindRoomList(context.Context, *common.ManagerFindRoomListRequest) (*common.ManagerFindRoomListReply, error) {
  681. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindRoomList not implemented")
  682. }
  683. func (UnimplementedChatServer) ManagerFindChatRecordList(context.Context, *common.ManagerFindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  684. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindChatRecordList not implemented")
  685. }
  686. func (UnimplementedChatServer) ManagerFindScripList(context.Context, *common.ManagerFindScripListRequest) (*common.ManagerScripReply, error) {
  687. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindScripList not implemented")
  688. }
  689. func (UnimplementedChatServer) ManagerUpdateScripText(context.Context, *common.ManagerUpdateScripTextRequest) (*emptypb.Empty, error) {
  690. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateScripText not implemented")
  691. }
  692. func (UnimplementedChatServer) ManagerUpdateScripPicture(context.Context, *common.ManagerUpdateScripPictureRequest) (*emptypb.Empty, error) {
  693. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateScripPicture not implemented")
  694. }
  695. func (UnimplementedChatServer) ManagerDeleteScrip(context.Context, *common.IDParam) (*emptypb.Empty, error) {
  696. return nil, status.Errorf(codes.Unimplemented, "method ManagerDeleteScrip not implemented")
  697. }
  698. func (UnimplementedChatServer) ManagerFindReportList(context.Context, *common.ManagerFindReportListRequest) (*common.ManagerFindReportListReply, error) {
  699. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindReportList not implemented")
  700. }
  701. func (UnimplementedChatServer) ManagerFindReportDetailsList(context.Context, *common.ManagerFindReportDetailsListRequest) (*common.ManagerFindReportDetailsListReply, error) {
  702. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindReportDetailsList not implemented")
  703. }
  704. func (UnimplementedChatServer) DeleteScripByPersonID(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
  705. return nil, status.Errorf(codes.Unimplemented, "method DeleteScripByPersonID not implemented")
  706. }
  707. func (UnimplementedChatServer) SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error) {
  708. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  709. }
  710. func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
  711. // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
  712. // Use of this interface is not recommended, as added methods to ChatServer will
  713. // result in compilation errors.
  714. type UnsafeChatServer interface {
  715. mustEmbedUnimplementedChatServer()
  716. }
  717. func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) {
  718. s.RegisterService(&Chat_ServiceDesc, srv)
  719. }
  720. func _Chat_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  721. in := new(common.UserIDsParam)
  722. if err := dec(in); err != nil {
  723. return nil, err
  724. }
  725. if interceptor == nil {
  726. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, in)
  727. }
  728. info := &grpc.UnaryServerInfo{
  729. Server: srv,
  730. FullMethod: "/api.chat.Chat/CheckUserPartnerIsRelationship",
  731. }
  732. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  733. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, req.(*common.UserIDsParam))
  734. }
  735. return interceptor(ctx, in, info, handler)
  736. }
  737. func _Chat_CreateChatRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  738. in := new(CreateChatRoomParam)
  739. if err := dec(in); err != nil {
  740. return nil, err
  741. }
  742. if interceptor == nil {
  743. return srv.(ChatServer).CreateChatRoom(ctx, in)
  744. }
  745. info := &grpc.UnaryServerInfo{
  746. Server: srv,
  747. FullMethod: "/api.chat.Chat/CreateChatRoom",
  748. }
  749. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  750. return srv.(ChatServer).CreateChatRoom(ctx, req.(*CreateChatRoomParam))
  751. }
  752. return interceptor(ctx, in, info, handler)
  753. }
  754. func _Chat_FindOnlinePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  755. in := new(common.ListPageAndPersonRequest)
  756. if err := dec(in); err != nil {
  757. return nil, err
  758. }
  759. if interceptor == nil {
  760. return srv.(ChatServer).FindOnlinePersonList(ctx, in)
  761. }
  762. info := &grpc.UnaryServerInfo{
  763. Server: srv,
  764. FullMethod: "/api.chat.Chat/FindOnlinePersonList",
  765. }
  766. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  767. return srv.(ChatServer).FindOnlinePersonList(ctx, req.(*common.ListPageAndPersonRequest))
  768. }
  769. return interceptor(ctx, in, info, handler)
  770. }
  771. func _Chat_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  772. in := new(FindRecommendPersonListRequest)
  773. if err := dec(in); err != nil {
  774. return nil, err
  775. }
  776. if interceptor == nil {
  777. return srv.(ChatServer).FindRecommendPersonList(ctx, in)
  778. }
  779. info := &grpc.UnaryServerInfo{
  780. Server: srv,
  781. FullMethod: "/api.chat.Chat/FindRecommendPersonList",
  782. }
  783. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  784. return srv.(ChatServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
  785. }
  786. return interceptor(ctx, in, info, handler)
  787. }
  788. func _Chat_PartnerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  789. in := new(PartnerFindRoomListRequest)
  790. if err := dec(in); err != nil {
  791. return nil, err
  792. }
  793. if interceptor == nil {
  794. return srv.(ChatServer).PartnerFindRoomList(ctx, in)
  795. }
  796. info := &grpc.UnaryServerInfo{
  797. Server: srv,
  798. FullMethod: "/api.chat.Chat/PartnerFindRoomList",
  799. }
  800. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  801. return srv.(ChatServer).PartnerFindRoomList(ctx, req.(*PartnerFindRoomListRequest))
  802. }
  803. return interceptor(ctx, in, info, handler)
  804. }
  805. func _Chat_UserFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  806. in := new(UserFindRoomListRequest)
  807. if err := dec(in); err != nil {
  808. return nil, err
  809. }
  810. if interceptor == nil {
  811. return srv.(ChatServer).UserFindRoomList(ctx, in)
  812. }
  813. info := &grpc.UnaryServerInfo{
  814. Server: srv,
  815. FullMethod: "/api.chat.Chat/UserFindRoomList",
  816. }
  817. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  818. return srv.(ChatServer).UserFindRoomList(ctx, req.(*UserFindRoomListRequest))
  819. }
  820. return interceptor(ctx, in, info, handler)
  821. }
  822. func _Chat_Receive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  823. in := new(ReceiveRequest)
  824. if err := dec(in); err != nil {
  825. return nil, err
  826. }
  827. if interceptor == nil {
  828. return srv.(ChatServer).Receive(ctx, in)
  829. }
  830. info := &grpc.UnaryServerInfo{
  831. Server: srv,
  832. FullMethod: "/api.chat.Chat/Receive",
  833. }
  834. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  835. return srv.(ChatServer).Receive(ctx, req.(*ReceiveRequest))
  836. }
  837. return interceptor(ctx, in, info, handler)
  838. }
  839. func _Chat_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  840. in := new(FindChatRecordListRequest)
  841. if err := dec(in); err != nil {
  842. return nil, err
  843. }
  844. if interceptor == nil {
  845. return srv.(ChatServer).FindChatRecordList(ctx, in)
  846. }
  847. info := &grpc.UnaryServerInfo{
  848. Server: srv,
  849. FullMethod: "/api.chat.Chat/FindChatRecordList",
  850. }
  851. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  852. return srv.(ChatServer).FindChatRecordList(ctx, req.(*FindChatRecordListRequest))
  853. }
  854. return interceptor(ctx, in, info, handler)
  855. }
  856. func _Chat_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  857. in := new(FindChatRoomMsgRequest)
  858. if err := dec(in); err != nil {
  859. return nil, err
  860. }
  861. if interceptor == nil {
  862. return srv.(ChatServer).FindChatRoomMsg(ctx, in)
  863. }
  864. info := &grpc.UnaryServerInfo{
  865. Server: srv,
  866. FullMethod: "/api.chat.Chat/FindChatRoomMsg",
  867. }
  868. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  869. return srv.(ChatServer).FindChatRoomMsg(ctx, req.(*FindChatRoomMsgRequest))
  870. }
  871. return interceptor(ctx, in, info, handler)
  872. }
  873. func _Chat_SetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  874. in := new(SetBlackChatParam)
  875. if err := dec(in); err != nil {
  876. return nil, err
  877. }
  878. if interceptor == nil {
  879. return srv.(ChatServer).SetBlackChat(ctx, in)
  880. }
  881. info := &grpc.UnaryServerInfo{
  882. Server: srv,
  883. FullMethod: "/api.chat.Chat/SetBlackChat",
  884. }
  885. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  886. return srv.(ChatServer).SetBlackChat(ctx, req.(*SetBlackChatParam))
  887. }
  888. return interceptor(ctx, in, info, handler)
  889. }
  890. func _Chat_DeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  891. in := new(SetBlackChatParam)
  892. if err := dec(in); err != nil {
  893. return nil, err
  894. }
  895. if interceptor == nil {
  896. return srv.(ChatServer).DeleteChat(ctx, in)
  897. }
  898. info := &grpc.UnaryServerInfo{
  899. Server: srv,
  900. FullMethod: "/api.chat.Chat/DeleteChat",
  901. }
  902. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  903. return srv.(ChatServer).DeleteChat(ctx, req.(*SetBlackChatParam))
  904. }
  905. return interceptor(ctx, in, info, handler)
  906. }
  907. func _Chat_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  908. in := new(common.ReportRequest)
  909. if err := dec(in); err != nil {
  910. return nil, err
  911. }
  912. if interceptor == nil {
  913. return srv.(ChatServer).Report(ctx, in)
  914. }
  915. info := &grpc.UnaryServerInfo{
  916. Server: srv,
  917. FullMethod: "/api.chat.Chat/Report",
  918. }
  919. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  920. return srv.(ChatServer).Report(ctx, req.(*common.ReportRequest))
  921. }
  922. return interceptor(ctx, in, info, handler)
  923. }
  924. func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  925. in := new(FindRoomCardMsgRequest)
  926. if err := dec(in); err != nil {
  927. return nil, err
  928. }
  929. if interceptor == nil {
  930. return srv.(ChatServer).FindRoomCardMsg(ctx, in)
  931. }
  932. info := &grpc.UnaryServerInfo{
  933. Server: srv,
  934. FullMethod: "/api.chat.Chat/FindRoomCardMsg",
  935. }
  936. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  937. return srv.(ChatServer).FindRoomCardMsg(ctx, req.(*FindRoomCardMsgRequest))
  938. }
  939. return interceptor(ctx, in, info, handler)
  940. }
  941. func _Chat_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  942. in := new(common.CreateScripRequest)
  943. if err := dec(in); err != nil {
  944. return nil, err
  945. }
  946. if interceptor == nil {
  947. return srv.(ChatServer).CreateScrip(ctx, in)
  948. }
  949. info := &grpc.UnaryServerInfo{
  950. Server: srv,
  951. FullMethod: "/api.chat.Chat/CreateScrip",
  952. }
  953. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  954. return srv.(ChatServer).CreateScrip(ctx, req.(*common.CreateScripRequest))
  955. }
  956. return interceptor(ctx, in, info, handler)
  957. }
  958. func _Chat_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  959. in := new(common.DeleteScripRequest)
  960. if err := dec(in); err != nil {
  961. return nil, err
  962. }
  963. if interceptor == nil {
  964. return srv.(ChatServer).DeleteScrip(ctx, in)
  965. }
  966. info := &grpc.UnaryServerInfo{
  967. Server: srv,
  968. FullMethod: "/api.chat.Chat/DeleteScrip",
  969. }
  970. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  971. return srv.(ChatServer).DeleteScrip(ctx, req.(*common.DeleteScripRequest))
  972. }
  973. return interceptor(ctx, in, info, handler)
  974. }
  975. func _Chat_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  976. in := new(common.FindScripRequest)
  977. if err := dec(in); err != nil {
  978. return nil, err
  979. }
  980. if interceptor == nil {
  981. return srv.(ChatServer).FindMyScrip(ctx, in)
  982. }
  983. info := &grpc.UnaryServerInfo{
  984. Server: srv,
  985. FullMethod: "/api.chat.Chat/FindMyScrip",
  986. }
  987. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  988. return srv.(ChatServer).FindMyScrip(ctx, req.(*common.FindScripRequest))
  989. }
  990. return interceptor(ctx, in, info, handler)
  991. }
  992. func _Chat_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  993. in := new(common.FindOtherScripRequest)
  994. if err := dec(in); err != nil {
  995. return nil, err
  996. }
  997. if interceptor == nil {
  998. return srv.(ChatServer).FindOtherScrip(ctx, in)
  999. }
  1000. info := &grpc.UnaryServerInfo{
  1001. Server: srv,
  1002. FullMethod: "/api.chat.Chat/FindOtherScrip",
  1003. }
  1004. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1005. return srv.(ChatServer).FindOtherScrip(ctx, req.(*common.FindOtherScripRequest))
  1006. }
  1007. return interceptor(ctx, in, info, handler)
  1008. }
  1009. func _Chat_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1010. in := new(common.FindScripRequest)
  1011. if err := dec(in); err != nil {
  1012. return nil, err
  1013. }
  1014. if interceptor == nil {
  1015. return srv.(ChatServer).FindRecommendScrip(ctx, in)
  1016. }
  1017. info := &grpc.UnaryServerInfo{
  1018. Server: srv,
  1019. FullMethod: "/api.chat.Chat/FindRecommendScrip",
  1020. }
  1021. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1022. return srv.(ChatServer).FindRecommendScrip(ctx, req.(*common.FindScripRequest))
  1023. }
  1024. return interceptor(ctx, in, info, handler)
  1025. }
  1026. func _Chat_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1027. in := new(common.PersonLookScripRequest)
  1028. if err := dec(in); err != nil {
  1029. return nil, err
  1030. }
  1031. if interceptor == nil {
  1032. return srv.(ChatServer).PersonLookScrip(ctx, in)
  1033. }
  1034. info := &grpc.UnaryServerInfo{
  1035. Server: srv,
  1036. FullMethod: "/api.chat.Chat/PersonLookScrip",
  1037. }
  1038. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1039. return srv.(ChatServer).PersonLookScrip(ctx, req.(*common.PersonLookScripRequest))
  1040. }
  1041. return interceptor(ctx, in, info, handler)
  1042. }
  1043. func _Chat_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1044. in := new(common.PersonParam)
  1045. if err := dec(in); err != nil {
  1046. return nil, err
  1047. }
  1048. if interceptor == nil {
  1049. return srv.(ChatServer).PersonClickLookBack(ctx, in)
  1050. }
  1051. info := &grpc.UnaryServerInfo{
  1052. Server: srv,
  1053. FullMethod: "/api.chat.Chat/PersonClickLookBack",
  1054. }
  1055. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1056. return srv.(ChatServer).PersonClickLookBack(ctx, req.(*common.PersonParam))
  1057. }
  1058. return interceptor(ctx, in, info, handler)
  1059. }
  1060. func _Chat_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1061. in := new(common.ReplyScripRequest)
  1062. if err := dec(in); err != nil {
  1063. return nil, err
  1064. }
  1065. if interceptor == nil {
  1066. return srv.(ChatServer).PersonReplyScrip(ctx, in)
  1067. }
  1068. info := &grpc.UnaryServerInfo{
  1069. Server: srv,
  1070. FullMethod: "/api.chat.Chat/PersonReplyScrip",
  1071. }
  1072. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1073. return srv.(ChatServer).PersonReplyScrip(ctx, req.(*common.ReplyScripRequest))
  1074. }
  1075. return interceptor(ctx, in, info, handler)
  1076. }
  1077. func _Chat_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1078. in := new(common.MatchingRequest)
  1079. if err := dec(in); err != nil {
  1080. return nil, err
  1081. }
  1082. if interceptor == nil {
  1083. return srv.(ChatServer).GetWindowInfo(ctx, in)
  1084. }
  1085. info := &grpc.UnaryServerInfo{
  1086. Server: srv,
  1087. FullMethod: "/api.chat.Chat/GetWindowInfo",
  1088. }
  1089. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1090. return srv.(ChatServer).GetWindowInfo(ctx, req.(*common.MatchingRequest))
  1091. }
  1092. return interceptor(ctx, in, info, handler)
  1093. }
  1094. func _Chat_GetRandomMatching_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1095. in := new(common.MatchingRequest)
  1096. if err := dec(in); err != nil {
  1097. return nil, err
  1098. }
  1099. if interceptor == nil {
  1100. return srv.(ChatServer).GetRandomMatching(ctx, in)
  1101. }
  1102. info := &grpc.UnaryServerInfo{
  1103. Server: srv,
  1104. FullMethod: "/api.chat.Chat/GetRandomMatching",
  1105. }
  1106. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1107. return srv.(ChatServer).GetRandomMatching(ctx, req.(*common.MatchingRequest))
  1108. }
  1109. return interceptor(ctx, in, info, handler)
  1110. }
  1111. func _Chat_GetMatchingPartnerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1112. in := new(GetMatchingPartnerInfoRequest)
  1113. if err := dec(in); err != nil {
  1114. return nil, err
  1115. }
  1116. if interceptor == nil {
  1117. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, in)
  1118. }
  1119. info := &grpc.UnaryServerInfo{
  1120. Server: srv,
  1121. FullMethod: "/api.chat.Chat/GetMatchingPartnerInfo",
  1122. }
  1123. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1124. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, req.(*GetMatchingPartnerInfoRequest))
  1125. }
  1126. return interceptor(ctx, in, info, handler)
  1127. }
  1128. func _Chat_AccurateMatchingUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1129. in := new(AccurateMatchingUserInfoRequest)
  1130. if err := dec(in); err != nil {
  1131. return nil, err
  1132. }
  1133. if interceptor == nil {
  1134. return srv.(ChatServer).AccurateMatchingUserInfo(ctx, in)
  1135. }
  1136. info := &grpc.UnaryServerInfo{
  1137. Server: srv,
  1138. FullMethod: "/api.chat.Chat/AccurateMatchingUserInfo",
  1139. }
  1140. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1141. return srv.(ChatServer).AccurateMatchingUserInfo(ctx, req.(*AccurateMatchingUserInfoRequest))
  1142. }
  1143. return interceptor(ctx, in, info, handler)
  1144. }
  1145. func _Chat_PartnerCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1146. in := new(PartnerCollectIDsRequest)
  1147. if err := dec(in); err != nil {
  1148. return nil, err
  1149. }
  1150. if interceptor == nil {
  1151. return srv.(ChatServer).PartnerCollect(ctx, in)
  1152. }
  1153. info := &grpc.UnaryServerInfo{
  1154. Server: srv,
  1155. FullMethod: "/api.chat.Chat/PartnerCollect",
  1156. }
  1157. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1158. return srv.(ChatServer).PartnerCollect(ctx, req.(*PartnerCollectIDsRequest))
  1159. }
  1160. return interceptor(ctx, in, info, handler)
  1161. }
  1162. func _Chat_PartnerDeleteCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1163. in := new(PartnerCollectRequest)
  1164. if err := dec(in); err != nil {
  1165. return nil, err
  1166. }
  1167. if interceptor == nil {
  1168. return srv.(ChatServer).PartnerDeleteCollect(ctx, in)
  1169. }
  1170. info := &grpc.UnaryServerInfo{
  1171. Server: srv,
  1172. FullMethod: "/api.chat.Chat/PartnerDeleteCollect",
  1173. }
  1174. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1175. return srv.(ChatServer).PartnerDeleteCollect(ctx, req.(*PartnerCollectRequest))
  1176. }
  1177. return interceptor(ctx, in, info, handler)
  1178. }
  1179. func _Chat_FindChatCollectList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1180. in := new(FindChatRecordListRequest)
  1181. if err := dec(in); err != nil {
  1182. return nil, err
  1183. }
  1184. if interceptor == nil {
  1185. return srv.(ChatServer).FindChatCollectList(ctx, in)
  1186. }
  1187. info := &grpc.UnaryServerInfo{
  1188. Server: srv,
  1189. FullMethod: "/api.chat.Chat/FindChatCollectList",
  1190. }
  1191. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1192. return srv.(ChatServer).FindChatCollectList(ctx, req.(*FindChatRecordListRequest))
  1193. }
  1194. return interceptor(ctx, in, info, handler)
  1195. }
  1196. func _Chat_UserUnlockVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1197. in := new(UserUnlockRequest)
  1198. if err := dec(in); err != nil {
  1199. return nil, err
  1200. }
  1201. if interceptor == nil {
  1202. return srv.(ChatServer).UserUnlockVoice(ctx, in)
  1203. }
  1204. info := &grpc.UnaryServerInfo{
  1205. Server: srv,
  1206. FullMethod: "/api.chat.Chat/UserUnlockVoice",
  1207. }
  1208. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1209. return srv.(ChatServer).UserUnlockVoice(ctx, req.(*UserUnlockRequest))
  1210. }
  1211. return interceptor(ctx, in, info, handler)
  1212. }
  1213. func _Chat_UserUnlockPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1214. in := new(UserUnlockRequest)
  1215. if err := dec(in); err != nil {
  1216. return nil, err
  1217. }
  1218. if interceptor == nil {
  1219. return srv.(ChatServer).UserUnlockPicture(ctx, in)
  1220. }
  1221. info := &grpc.UnaryServerInfo{
  1222. Server: srv,
  1223. FullMethod: "/api.chat.Chat/UserUnlockPicture",
  1224. }
  1225. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1226. return srv.(ChatServer).UserUnlockPicture(ctx, req.(*UserUnlockRequest))
  1227. }
  1228. return interceptor(ctx, in, info, handler)
  1229. }
  1230. func _Chat_GetRoomProfit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1231. in := new(common.RoomIDRequest)
  1232. if err := dec(in); err != nil {
  1233. return nil, err
  1234. }
  1235. if interceptor == nil {
  1236. return srv.(ChatServer).GetRoomProfit(ctx, in)
  1237. }
  1238. info := &grpc.UnaryServerInfo{
  1239. Server: srv,
  1240. FullMethod: "/api.chat.Chat/GetRoomProfit",
  1241. }
  1242. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1243. return srv.(ChatServer).GetRoomProfit(ctx, req.(*common.RoomIDRequest))
  1244. }
  1245. return interceptor(ctx, in, info, handler)
  1246. }
  1247. func _Chat_GetOnlinePersonNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1248. in := new(emptypb.Empty)
  1249. if err := dec(in); err != nil {
  1250. return nil, err
  1251. }
  1252. if interceptor == nil {
  1253. return srv.(ChatServer).GetOnlinePersonNum(ctx, in)
  1254. }
  1255. info := &grpc.UnaryServerInfo{
  1256. Server: srv,
  1257. FullMethod: "/api.chat.Chat/GetOnlinePersonNum",
  1258. }
  1259. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1260. return srv.(ChatServer).GetOnlinePersonNum(ctx, req.(*emptypb.Empty))
  1261. }
  1262. return interceptor(ctx, in, info, handler)
  1263. }
  1264. func _Chat_FindUserAllUnreadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1265. in := new(common.PersonIDParam)
  1266. if err := dec(in); err != nil {
  1267. return nil, err
  1268. }
  1269. if interceptor == nil {
  1270. return srv.(ChatServer).FindUserAllUnreadNum(ctx, in)
  1271. }
  1272. info := &grpc.UnaryServerInfo{
  1273. Server: srv,
  1274. FullMethod: "/api.chat.Chat/FindUserAllUnreadNum",
  1275. }
  1276. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1277. return srv.(ChatServer).FindUserAllUnreadNum(ctx, req.(*common.PersonIDParam))
  1278. }
  1279. return interceptor(ctx, in, info, handler)
  1280. }
  1281. func _Chat_GetUserRoomByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1282. in := new(common.UserIDsParam)
  1283. if err := dec(in); err != nil {
  1284. return nil, err
  1285. }
  1286. if interceptor == nil {
  1287. return srv.(ChatServer).GetUserRoomByPerson(ctx, in)
  1288. }
  1289. info := &grpc.UnaryServerInfo{
  1290. Server: srv,
  1291. FullMethod: "/api.chat.Chat/GetUserRoomByPerson",
  1292. }
  1293. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1294. return srv.(ChatServer).GetUserRoomByPerson(ctx, req.(*common.UserIDsParam))
  1295. }
  1296. return interceptor(ctx, in, info, handler)
  1297. }
  1298. func _Chat_GetSuperLoveByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1299. in := new(common.UserIDsParam)
  1300. if err := dec(in); err != nil {
  1301. return nil, err
  1302. }
  1303. if interceptor == nil {
  1304. return srv.(ChatServer).GetSuperLoveByPerson(ctx, in)
  1305. }
  1306. info := &grpc.UnaryServerInfo{
  1307. Server: srv,
  1308. FullMethod: "/api.chat.Chat/GetSuperLoveByPerson",
  1309. }
  1310. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1311. return srv.(ChatServer).GetSuperLoveByPerson(ctx, req.(*common.UserIDsParam))
  1312. }
  1313. return interceptor(ctx, in, info, handler)
  1314. }
  1315. func _Chat_ManagerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1316. in := new(common.ManagerFindRoomListRequest)
  1317. if err := dec(in); err != nil {
  1318. return nil, err
  1319. }
  1320. if interceptor == nil {
  1321. return srv.(ChatServer).ManagerFindRoomList(ctx, in)
  1322. }
  1323. info := &grpc.UnaryServerInfo{
  1324. Server: srv,
  1325. FullMethod: "/api.chat.Chat/ManagerFindRoomList",
  1326. }
  1327. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1328. return srv.(ChatServer).ManagerFindRoomList(ctx, req.(*common.ManagerFindRoomListRequest))
  1329. }
  1330. return interceptor(ctx, in, info, handler)
  1331. }
  1332. func _Chat_ManagerFindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1333. in := new(common.ManagerFindChatRecordListRequest)
  1334. if err := dec(in); err != nil {
  1335. return nil, err
  1336. }
  1337. if interceptor == nil {
  1338. return srv.(ChatServer).ManagerFindChatRecordList(ctx, in)
  1339. }
  1340. info := &grpc.UnaryServerInfo{
  1341. Server: srv,
  1342. FullMethod: "/api.chat.Chat/ManagerFindChatRecordList",
  1343. }
  1344. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1345. return srv.(ChatServer).ManagerFindChatRecordList(ctx, req.(*common.ManagerFindChatRecordListRequest))
  1346. }
  1347. return interceptor(ctx, in, info, handler)
  1348. }
  1349. func _Chat_ManagerFindScripList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1350. in := new(common.ManagerFindScripListRequest)
  1351. if err := dec(in); err != nil {
  1352. return nil, err
  1353. }
  1354. if interceptor == nil {
  1355. return srv.(ChatServer).ManagerFindScripList(ctx, in)
  1356. }
  1357. info := &grpc.UnaryServerInfo{
  1358. Server: srv,
  1359. FullMethod: "/api.chat.Chat/ManagerFindScripList",
  1360. }
  1361. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1362. return srv.(ChatServer).ManagerFindScripList(ctx, req.(*common.ManagerFindScripListRequest))
  1363. }
  1364. return interceptor(ctx, in, info, handler)
  1365. }
  1366. func _Chat_ManagerUpdateScripText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1367. in := new(common.ManagerUpdateScripTextRequest)
  1368. if err := dec(in); err != nil {
  1369. return nil, err
  1370. }
  1371. if interceptor == nil {
  1372. return srv.(ChatServer).ManagerUpdateScripText(ctx, in)
  1373. }
  1374. info := &grpc.UnaryServerInfo{
  1375. Server: srv,
  1376. FullMethod: "/api.chat.Chat/ManagerUpdateScripText",
  1377. }
  1378. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1379. return srv.(ChatServer).ManagerUpdateScripText(ctx, req.(*common.ManagerUpdateScripTextRequest))
  1380. }
  1381. return interceptor(ctx, in, info, handler)
  1382. }
  1383. func _Chat_ManagerUpdateScripPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1384. in := new(common.ManagerUpdateScripPictureRequest)
  1385. if err := dec(in); err != nil {
  1386. return nil, err
  1387. }
  1388. if interceptor == nil {
  1389. return srv.(ChatServer).ManagerUpdateScripPicture(ctx, in)
  1390. }
  1391. info := &grpc.UnaryServerInfo{
  1392. Server: srv,
  1393. FullMethod: "/api.chat.Chat/ManagerUpdateScripPicture",
  1394. }
  1395. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1396. return srv.(ChatServer).ManagerUpdateScripPicture(ctx, req.(*common.ManagerUpdateScripPictureRequest))
  1397. }
  1398. return interceptor(ctx, in, info, handler)
  1399. }
  1400. func _Chat_ManagerDeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1401. in := new(common.IDParam)
  1402. if err := dec(in); err != nil {
  1403. return nil, err
  1404. }
  1405. if interceptor == nil {
  1406. return srv.(ChatServer).ManagerDeleteScrip(ctx, in)
  1407. }
  1408. info := &grpc.UnaryServerInfo{
  1409. Server: srv,
  1410. FullMethod: "/api.chat.Chat/ManagerDeleteScrip",
  1411. }
  1412. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1413. return srv.(ChatServer).ManagerDeleteScrip(ctx, req.(*common.IDParam))
  1414. }
  1415. return interceptor(ctx, in, info, handler)
  1416. }
  1417. func _Chat_ManagerFindReportList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1418. in := new(common.ManagerFindReportListRequest)
  1419. if err := dec(in); err != nil {
  1420. return nil, err
  1421. }
  1422. if interceptor == nil {
  1423. return srv.(ChatServer).ManagerFindReportList(ctx, in)
  1424. }
  1425. info := &grpc.UnaryServerInfo{
  1426. Server: srv,
  1427. FullMethod: "/api.chat.Chat/ManagerFindReportList",
  1428. }
  1429. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1430. return srv.(ChatServer).ManagerFindReportList(ctx, req.(*common.ManagerFindReportListRequest))
  1431. }
  1432. return interceptor(ctx, in, info, handler)
  1433. }
  1434. func _Chat_ManagerFindReportDetailsList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1435. in := new(common.ManagerFindReportDetailsListRequest)
  1436. if err := dec(in); err != nil {
  1437. return nil, err
  1438. }
  1439. if interceptor == nil {
  1440. return srv.(ChatServer).ManagerFindReportDetailsList(ctx, in)
  1441. }
  1442. info := &grpc.UnaryServerInfo{
  1443. Server: srv,
  1444. FullMethod: "/api.chat.Chat/ManagerFindReportDetailsList",
  1445. }
  1446. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1447. return srv.(ChatServer).ManagerFindReportDetailsList(ctx, req.(*common.ManagerFindReportDetailsListRequest))
  1448. }
  1449. return interceptor(ctx, in, info, handler)
  1450. }
  1451. func _Chat_DeleteScripByPersonID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1452. in := new(common.PersonIDParam)
  1453. if err := dec(in); err != nil {
  1454. return nil, err
  1455. }
  1456. if interceptor == nil {
  1457. return srv.(ChatServer).DeleteScripByPersonID(ctx, in)
  1458. }
  1459. info := &grpc.UnaryServerInfo{
  1460. Server: srv,
  1461. FullMethod: "/api.chat.Chat/DeleteScripByPersonID",
  1462. }
  1463. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1464. return srv.(ChatServer).DeleteScripByPersonID(ctx, req.(*common.PersonIDParam))
  1465. }
  1466. return interceptor(ctx, in, info, handler)
  1467. }
  1468. func _Chat_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1469. in := new(SendMessageRequest)
  1470. if err := dec(in); err != nil {
  1471. return nil, err
  1472. }
  1473. if interceptor == nil {
  1474. return srv.(ChatServer).SendMessage(ctx, in)
  1475. }
  1476. info := &grpc.UnaryServerInfo{
  1477. Server: srv,
  1478. FullMethod: "/api.chat.Chat/SendMessage",
  1479. }
  1480. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1481. return srv.(ChatServer).SendMessage(ctx, req.(*SendMessageRequest))
  1482. }
  1483. return interceptor(ctx, in, info, handler)
  1484. }
  1485. // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
  1486. // It's only intended for direct use with grpc.RegisterService,
  1487. // and not to be introspected or modified (even as a copy)
  1488. var Chat_ServiceDesc = grpc.ServiceDesc{
  1489. ServiceName: "api.chat.Chat",
  1490. HandlerType: (*ChatServer)(nil),
  1491. Methods: []grpc.MethodDesc{
  1492. {
  1493. MethodName: "CheckUserPartnerIsRelationship",
  1494. Handler: _Chat_CheckUserPartnerIsRelationship_Handler,
  1495. },
  1496. {
  1497. MethodName: "CreateChatRoom",
  1498. Handler: _Chat_CreateChatRoom_Handler,
  1499. },
  1500. {
  1501. MethodName: "FindOnlinePersonList",
  1502. Handler: _Chat_FindOnlinePersonList_Handler,
  1503. },
  1504. {
  1505. MethodName: "FindRecommendPersonList",
  1506. Handler: _Chat_FindRecommendPersonList_Handler,
  1507. },
  1508. {
  1509. MethodName: "PartnerFindRoomList",
  1510. Handler: _Chat_PartnerFindRoomList_Handler,
  1511. },
  1512. {
  1513. MethodName: "UserFindRoomList",
  1514. Handler: _Chat_UserFindRoomList_Handler,
  1515. },
  1516. {
  1517. MethodName: "Receive",
  1518. Handler: _Chat_Receive_Handler,
  1519. },
  1520. {
  1521. MethodName: "FindChatRecordList",
  1522. Handler: _Chat_FindChatRecordList_Handler,
  1523. },
  1524. {
  1525. MethodName: "FindChatRoomMsg",
  1526. Handler: _Chat_FindChatRoomMsg_Handler,
  1527. },
  1528. {
  1529. MethodName: "SetBlackChat",
  1530. Handler: _Chat_SetBlackChat_Handler,
  1531. },
  1532. {
  1533. MethodName: "DeleteChat",
  1534. Handler: _Chat_DeleteChat_Handler,
  1535. },
  1536. {
  1537. MethodName: "Report",
  1538. Handler: _Chat_Report_Handler,
  1539. },
  1540. {
  1541. MethodName: "FindRoomCardMsg",
  1542. Handler: _Chat_FindRoomCardMsg_Handler,
  1543. },
  1544. {
  1545. MethodName: "CreateScrip",
  1546. Handler: _Chat_CreateScrip_Handler,
  1547. },
  1548. {
  1549. MethodName: "DeleteScrip",
  1550. Handler: _Chat_DeleteScrip_Handler,
  1551. },
  1552. {
  1553. MethodName: "FindMyScrip",
  1554. Handler: _Chat_FindMyScrip_Handler,
  1555. },
  1556. {
  1557. MethodName: "FindOtherScrip",
  1558. Handler: _Chat_FindOtherScrip_Handler,
  1559. },
  1560. {
  1561. MethodName: "FindRecommendScrip",
  1562. Handler: _Chat_FindRecommendScrip_Handler,
  1563. },
  1564. {
  1565. MethodName: "PersonLookScrip",
  1566. Handler: _Chat_PersonLookScrip_Handler,
  1567. },
  1568. {
  1569. MethodName: "PersonClickLookBack",
  1570. Handler: _Chat_PersonClickLookBack_Handler,
  1571. },
  1572. {
  1573. MethodName: "PersonReplyScrip",
  1574. Handler: _Chat_PersonReplyScrip_Handler,
  1575. },
  1576. {
  1577. MethodName: "GetWindowInfo",
  1578. Handler: _Chat_GetWindowInfo_Handler,
  1579. },
  1580. {
  1581. MethodName: "GetRandomMatching",
  1582. Handler: _Chat_GetRandomMatching_Handler,
  1583. },
  1584. {
  1585. MethodName: "GetMatchingPartnerInfo",
  1586. Handler: _Chat_GetMatchingPartnerInfo_Handler,
  1587. },
  1588. {
  1589. MethodName: "AccurateMatchingUserInfo",
  1590. Handler: _Chat_AccurateMatchingUserInfo_Handler,
  1591. },
  1592. {
  1593. MethodName: "PartnerCollect",
  1594. Handler: _Chat_PartnerCollect_Handler,
  1595. },
  1596. {
  1597. MethodName: "PartnerDeleteCollect",
  1598. Handler: _Chat_PartnerDeleteCollect_Handler,
  1599. },
  1600. {
  1601. MethodName: "FindChatCollectList",
  1602. Handler: _Chat_FindChatCollectList_Handler,
  1603. },
  1604. {
  1605. MethodName: "UserUnlockVoice",
  1606. Handler: _Chat_UserUnlockVoice_Handler,
  1607. },
  1608. {
  1609. MethodName: "UserUnlockPicture",
  1610. Handler: _Chat_UserUnlockPicture_Handler,
  1611. },
  1612. {
  1613. MethodName: "GetRoomProfit",
  1614. Handler: _Chat_GetRoomProfit_Handler,
  1615. },
  1616. {
  1617. MethodName: "GetOnlinePersonNum",
  1618. Handler: _Chat_GetOnlinePersonNum_Handler,
  1619. },
  1620. {
  1621. MethodName: "FindUserAllUnreadNum",
  1622. Handler: _Chat_FindUserAllUnreadNum_Handler,
  1623. },
  1624. {
  1625. MethodName: "GetUserRoomByPerson",
  1626. Handler: _Chat_GetUserRoomByPerson_Handler,
  1627. },
  1628. {
  1629. MethodName: "GetSuperLoveByPerson",
  1630. Handler: _Chat_GetSuperLoveByPerson_Handler,
  1631. },
  1632. {
  1633. MethodName: "ManagerFindRoomList",
  1634. Handler: _Chat_ManagerFindRoomList_Handler,
  1635. },
  1636. {
  1637. MethodName: "ManagerFindChatRecordList",
  1638. Handler: _Chat_ManagerFindChatRecordList_Handler,
  1639. },
  1640. {
  1641. MethodName: "ManagerFindScripList",
  1642. Handler: _Chat_ManagerFindScripList_Handler,
  1643. },
  1644. {
  1645. MethodName: "ManagerUpdateScripText",
  1646. Handler: _Chat_ManagerUpdateScripText_Handler,
  1647. },
  1648. {
  1649. MethodName: "ManagerUpdateScripPicture",
  1650. Handler: _Chat_ManagerUpdateScripPicture_Handler,
  1651. },
  1652. {
  1653. MethodName: "ManagerDeleteScrip",
  1654. Handler: _Chat_ManagerDeleteScrip_Handler,
  1655. },
  1656. {
  1657. MethodName: "ManagerFindReportList",
  1658. Handler: _Chat_ManagerFindReportList_Handler,
  1659. },
  1660. {
  1661. MethodName: "ManagerFindReportDetailsList",
  1662. Handler: _Chat_ManagerFindReportDetailsList_Handler,
  1663. },
  1664. {
  1665. MethodName: "DeleteScripByPersonID",
  1666. Handler: _Chat_DeleteScripByPersonID_Handler,
  1667. },
  1668. {
  1669. MethodName: "SendMessage",
  1670. Handler: _Chat_SendMessage_Handler,
  1671. },
  1672. },
  1673. Streams: []grpc.StreamDesc{},
  1674. Metadata: "chat.proto",
  1675. }