chat_grpc.pb.go 71 KB

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