@juzi/wechaty-grpc 1.0.99 → 1.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +4 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.js +31 -1
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +790 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +8111 -1783
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +442 -5
- package/dist/cjs/out/wechaty/puppet.swagger.json +688 -6
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +153 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +297 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +171 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +360 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +127 -0
- package/dist/cjs/proto/wechaty/puppet.proto +54 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +45 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +4 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.js +31 -1
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +790 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +8111 -1783
- package/dist/esm/out/wechaty/puppet.openapi.yaml +442 -5
- package/dist/esm/out/wechaty/puppet.swagger.json +688 -6
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +153 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +297 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +171 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +360 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +127 -0
- package/dist/esm/proto/wechaty/puppet.proto +54 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +45 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +4 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.js +31 -1
- package/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet/message_pb.d.ts +790 -0
- package/out/wechaty/puppet/message_pb.js +8111 -1783
- package/out/wechaty/puppet.openapi.yaml +442 -5
- package/out/wechaty/puppet.swagger.json +688 -6
- package/out/wechaty/puppet_grpc_pb.d.ts +153 -0
- package/out/wechaty/puppet_grpc_pb.js +297 -0
- package/out/wechaty/puppet_pb_service.d.ts +171 -0
- package/out/wechaty/puppet_pb_service.js +360 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -74,6 +74,15 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
74
74
|
messageLocation: IPuppetService_IMessageLocation;
|
|
75
75
|
messageSendContact: IPuppetService_IMessageSendContact;
|
|
76
76
|
messageSendText: IPuppetService_IMessageSendText;
|
|
77
|
+
messageBatchSendText: IPuppetService_IMessageBatchSendText;
|
|
78
|
+
messageBatchSendFile: IPuppetService_IMessageBatchSendFile;
|
|
79
|
+
messageBatchForward: IPuppetService_IMessageBatchForward;
|
|
80
|
+
messageBatchSendContact: IPuppetService_IMessageBatchSendContact;
|
|
81
|
+
messageBatchSendUrl: IPuppetService_IMessageBatchSendUrl;
|
|
82
|
+
messageBatchSendMiniProgram: IPuppetService_IMessageBatchSendMiniProgram;
|
|
83
|
+
messageBatchSendLocation: IPuppetService_IMessageBatchSendLocation;
|
|
84
|
+
messageBatchSendChannel: IPuppetService_IMessageBatchSendChannel;
|
|
85
|
+
messageBatchSendChannelCard: IPuppetService_IMessageBatchSendChannelCard;
|
|
77
86
|
messageSendMiniProgram: IPuppetService_IMessageSendMiniProgram;
|
|
78
87
|
messageSendUrl: IPuppetService_IMessageSendUrl;
|
|
79
88
|
messageSendLocation: IPuppetService_IMessageSendLocation;
|
|
@@ -590,6 +599,87 @@ interface IPuppetService_IMessageSendText extends grpc.MethodDefinition<wechaty_
|
|
|
590
599
|
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageSendTextResponse>;
|
|
591
600
|
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageSendTextResponse>;
|
|
592
601
|
}
|
|
602
|
+
interface IPuppetService_IMessageBatchSendText extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendTextRequest, wechaty_puppet_message_pb.MessageBatchSendTextResponse> {
|
|
603
|
+
path: "/wechaty.Puppet/MessageBatchSendText";
|
|
604
|
+
requestStream: false;
|
|
605
|
+
responseStream: false;
|
|
606
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendTextRequest>;
|
|
607
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendTextRequest>;
|
|
608
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendTextResponse>;
|
|
609
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendTextResponse>;
|
|
610
|
+
}
|
|
611
|
+
interface IPuppetService_IMessageBatchSendFile extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendFileRequest, wechaty_puppet_message_pb.MessageBatchSendFileResponse> {
|
|
612
|
+
path: "/wechaty.Puppet/MessageBatchSendFile";
|
|
613
|
+
requestStream: false;
|
|
614
|
+
responseStream: false;
|
|
615
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendFileRequest>;
|
|
616
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendFileRequest>;
|
|
617
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendFileResponse>;
|
|
618
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendFileResponse>;
|
|
619
|
+
}
|
|
620
|
+
interface IPuppetService_IMessageBatchForward extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchForwardRequest, wechaty_puppet_message_pb.MessageBatchForwardResponse> {
|
|
621
|
+
path: "/wechaty.Puppet/MessageBatchForward";
|
|
622
|
+
requestStream: false;
|
|
623
|
+
responseStream: false;
|
|
624
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchForwardRequest>;
|
|
625
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchForwardRequest>;
|
|
626
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchForwardResponse>;
|
|
627
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchForwardResponse>;
|
|
628
|
+
}
|
|
629
|
+
interface IPuppetService_IMessageBatchSendContact extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendContactRequest, wechaty_puppet_message_pb.MessageBatchSendContactResponse> {
|
|
630
|
+
path: "/wechaty.Puppet/MessageBatchSendContact";
|
|
631
|
+
requestStream: false;
|
|
632
|
+
responseStream: false;
|
|
633
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendContactRequest>;
|
|
634
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendContactRequest>;
|
|
635
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendContactResponse>;
|
|
636
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendContactResponse>;
|
|
637
|
+
}
|
|
638
|
+
interface IPuppetService_IMessageBatchSendUrl extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendUrlRequest, wechaty_puppet_message_pb.MessageBatchSendUrlResponse> {
|
|
639
|
+
path: "/wechaty.Puppet/MessageBatchSendUrl";
|
|
640
|
+
requestStream: false;
|
|
641
|
+
responseStream: false;
|
|
642
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendUrlRequest>;
|
|
643
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendUrlRequest>;
|
|
644
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendUrlResponse>;
|
|
645
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendUrlResponse>;
|
|
646
|
+
}
|
|
647
|
+
interface IPuppetService_IMessageBatchSendMiniProgram extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse> {
|
|
648
|
+
path: "/wechaty.Puppet/MessageBatchSendMiniProgram";
|
|
649
|
+
requestStream: false;
|
|
650
|
+
responseStream: false;
|
|
651
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest>;
|
|
652
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest>;
|
|
653
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse>;
|
|
654
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse>;
|
|
655
|
+
}
|
|
656
|
+
interface IPuppetService_IMessageBatchSendLocation extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendLocationRequest, wechaty_puppet_message_pb.MessageBatchSendLocationResponse> {
|
|
657
|
+
path: "/wechaty.Puppet/MessageBatchSendLocation";
|
|
658
|
+
requestStream: false;
|
|
659
|
+
responseStream: false;
|
|
660
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendLocationRequest>;
|
|
661
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendLocationRequest>;
|
|
662
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendLocationResponse>;
|
|
663
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendLocationResponse>;
|
|
664
|
+
}
|
|
665
|
+
interface IPuppetService_IMessageBatchSendChannel extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendChannelRequest, wechaty_puppet_message_pb.MessageBatchSendChannelResponse> {
|
|
666
|
+
path: "/wechaty.Puppet/MessageBatchSendChannel";
|
|
667
|
+
requestStream: false;
|
|
668
|
+
responseStream: false;
|
|
669
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendChannelRequest>;
|
|
670
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendChannelRequest>;
|
|
671
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendChannelResponse>;
|
|
672
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendChannelResponse>;
|
|
673
|
+
}
|
|
674
|
+
interface IPuppetService_IMessageBatchSendChannelCard extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse> {
|
|
675
|
+
path: "/wechaty.Puppet/MessageBatchSendChannelCard";
|
|
676
|
+
requestStream: false;
|
|
677
|
+
responseStream: false;
|
|
678
|
+
requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest>;
|
|
679
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest>;
|
|
680
|
+
responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse>;
|
|
681
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse>;
|
|
682
|
+
}
|
|
593
683
|
interface IPuppetService_IMessageSendMiniProgram extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageSendMiniProgramRequest, wechaty_puppet_message_pb.MessageSendMiniProgramResponse> {
|
|
594
684
|
path: "/wechaty.Puppet/MessageSendMiniProgram";
|
|
595
685
|
requestStream: false;
|
|
@@ -1220,6 +1310,15 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1220
1310
|
messageLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageLocationRequest, wechaty_puppet_message_pb.MessageLocationResponse>;
|
|
1221
1311
|
messageSendContact: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendContactRequest, wechaty_puppet_message_pb.MessageSendContactResponse>;
|
|
1222
1312
|
messageSendText: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendTextRequest, wechaty_puppet_message_pb.MessageSendTextResponse>;
|
|
1313
|
+
messageBatchSendText: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendTextRequest, wechaty_puppet_message_pb.MessageBatchSendTextResponse>;
|
|
1314
|
+
messageBatchSendFile: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendFileRequest, wechaty_puppet_message_pb.MessageBatchSendFileResponse>;
|
|
1315
|
+
messageBatchForward: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchForwardRequest, wechaty_puppet_message_pb.MessageBatchForwardResponse>;
|
|
1316
|
+
messageBatchSendContact: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendContactRequest, wechaty_puppet_message_pb.MessageBatchSendContactResponse>;
|
|
1317
|
+
messageBatchSendUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendUrlRequest, wechaty_puppet_message_pb.MessageBatchSendUrlResponse>;
|
|
1318
|
+
messageBatchSendMiniProgram: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse>;
|
|
1319
|
+
messageBatchSendLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendLocationRequest, wechaty_puppet_message_pb.MessageBatchSendLocationResponse>;
|
|
1320
|
+
messageBatchSendChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendChannelRequest, wechaty_puppet_message_pb.MessageBatchSendChannelResponse>;
|
|
1321
|
+
messageBatchSendChannelCard: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse>;
|
|
1223
1322
|
messageSendMiniProgram: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendMiniProgramRequest, wechaty_puppet_message_pb.MessageSendMiniProgramResponse>;
|
|
1224
1323
|
messageSendUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendUrlRequest, wechaty_puppet_message_pb.MessageSendUrlResponse>;
|
|
1225
1324
|
messageSendLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendLocationRequest, wechaty_puppet_message_pb.MessageSendLocationResponse>;
|
|
@@ -1436,6 +1535,33 @@ export interface IPuppetClient {
|
|
|
1436
1535
|
messageSendText(request: wechaty_puppet_message_pb.MessageSendTextRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1437
1536
|
messageSendText(request: wechaty_puppet_message_pb.MessageSendTextRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1438
1537
|
messageSendText(request: wechaty_puppet_message_pb.MessageSendTextRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1538
|
+
messageBatchSendText(request: wechaty_puppet_message_pb.MessageBatchSendTextRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1539
|
+
messageBatchSendText(request: wechaty_puppet_message_pb.MessageBatchSendTextRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1540
|
+
messageBatchSendText(request: wechaty_puppet_message_pb.MessageBatchSendTextRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1541
|
+
messageBatchSendFile(request: wechaty_puppet_message_pb.MessageBatchSendFileRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendFileResponse) => void): grpc.ClientUnaryCall;
|
|
1542
|
+
messageBatchSendFile(request: wechaty_puppet_message_pb.MessageBatchSendFileRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendFileResponse) => void): grpc.ClientUnaryCall;
|
|
1543
|
+
messageBatchSendFile(request: wechaty_puppet_message_pb.MessageBatchSendFileRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendFileResponse) => void): grpc.ClientUnaryCall;
|
|
1544
|
+
messageBatchForward(request: wechaty_puppet_message_pb.MessageBatchForwardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchForwardResponse) => void): grpc.ClientUnaryCall;
|
|
1545
|
+
messageBatchForward(request: wechaty_puppet_message_pb.MessageBatchForwardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchForwardResponse) => void): grpc.ClientUnaryCall;
|
|
1546
|
+
messageBatchForward(request: wechaty_puppet_message_pb.MessageBatchForwardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchForwardResponse) => void): grpc.ClientUnaryCall;
|
|
1547
|
+
messageBatchSendContact(request: wechaty_puppet_message_pb.MessageBatchSendContactRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendContactResponse) => void): grpc.ClientUnaryCall;
|
|
1548
|
+
messageBatchSendContact(request: wechaty_puppet_message_pb.MessageBatchSendContactRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendContactResponse) => void): grpc.ClientUnaryCall;
|
|
1549
|
+
messageBatchSendContact(request: wechaty_puppet_message_pb.MessageBatchSendContactRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendContactResponse) => void): grpc.ClientUnaryCall;
|
|
1550
|
+
messageBatchSendUrl(request: wechaty_puppet_message_pb.MessageBatchSendUrlRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendUrlResponse) => void): grpc.ClientUnaryCall;
|
|
1551
|
+
messageBatchSendUrl(request: wechaty_puppet_message_pb.MessageBatchSendUrlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendUrlResponse) => void): grpc.ClientUnaryCall;
|
|
1552
|
+
messageBatchSendUrl(request: wechaty_puppet_message_pb.MessageBatchSendUrlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendUrlResponse) => void): grpc.ClientUnaryCall;
|
|
1553
|
+
messageBatchSendMiniProgram(request: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1554
|
+
messageBatchSendMiniProgram(request: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1555
|
+
messageBatchSendMiniProgram(request: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1556
|
+
messageBatchSendLocation(request: wechaty_puppet_message_pb.MessageBatchSendLocationRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendLocationResponse) => void): grpc.ClientUnaryCall;
|
|
1557
|
+
messageBatchSendLocation(request: wechaty_puppet_message_pb.MessageBatchSendLocationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendLocationResponse) => void): grpc.ClientUnaryCall;
|
|
1558
|
+
messageBatchSendLocation(request: wechaty_puppet_message_pb.MessageBatchSendLocationRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendLocationResponse) => void): grpc.ClientUnaryCall;
|
|
1559
|
+
messageBatchSendChannel(request: wechaty_puppet_message_pb.MessageBatchSendChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1560
|
+
messageBatchSendChannel(request: wechaty_puppet_message_pb.MessageBatchSendChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1561
|
+
messageBatchSendChannel(request: wechaty_puppet_message_pb.MessageBatchSendChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1562
|
+
messageBatchSendChannelCard(request: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse) => void): grpc.ClientUnaryCall;
|
|
1563
|
+
messageBatchSendChannelCard(request: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse) => void): grpc.ClientUnaryCall;
|
|
1564
|
+
messageBatchSendChannelCard(request: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse) => void): grpc.ClientUnaryCall;
|
|
1439
1565
|
messageSendMiniProgram(request: wechaty_puppet_message_pb.MessageSendMiniProgramRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1440
1566
|
messageSendMiniProgram(request: wechaty_puppet_message_pb.MessageSendMiniProgramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1441
1567
|
messageSendMiniProgram(request: wechaty_puppet_message_pb.MessageSendMiniProgramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1781,6 +1907,33 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1781
1907
|
public messageSendText(request: wechaty_puppet_message_pb.MessageSendTextRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1782
1908
|
public messageSendText(request: wechaty_puppet_message_pb.MessageSendTextRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1783
1909
|
public messageSendText(request: wechaty_puppet_message_pb.MessageSendTextRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1910
|
+
public messageBatchSendText(request: wechaty_puppet_message_pb.MessageBatchSendTextRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1911
|
+
public messageBatchSendText(request: wechaty_puppet_message_pb.MessageBatchSendTextRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1912
|
+
public messageBatchSendText(request: wechaty_puppet_message_pb.MessageBatchSendTextRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendTextResponse) => void): grpc.ClientUnaryCall;
|
|
1913
|
+
public messageBatchSendFile(request: wechaty_puppet_message_pb.MessageBatchSendFileRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendFileResponse) => void): grpc.ClientUnaryCall;
|
|
1914
|
+
public messageBatchSendFile(request: wechaty_puppet_message_pb.MessageBatchSendFileRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendFileResponse) => void): grpc.ClientUnaryCall;
|
|
1915
|
+
public messageBatchSendFile(request: wechaty_puppet_message_pb.MessageBatchSendFileRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendFileResponse) => void): grpc.ClientUnaryCall;
|
|
1916
|
+
public messageBatchForward(request: wechaty_puppet_message_pb.MessageBatchForwardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchForwardResponse) => void): grpc.ClientUnaryCall;
|
|
1917
|
+
public messageBatchForward(request: wechaty_puppet_message_pb.MessageBatchForwardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchForwardResponse) => void): grpc.ClientUnaryCall;
|
|
1918
|
+
public messageBatchForward(request: wechaty_puppet_message_pb.MessageBatchForwardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchForwardResponse) => void): grpc.ClientUnaryCall;
|
|
1919
|
+
public messageBatchSendContact(request: wechaty_puppet_message_pb.MessageBatchSendContactRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendContactResponse) => void): grpc.ClientUnaryCall;
|
|
1920
|
+
public messageBatchSendContact(request: wechaty_puppet_message_pb.MessageBatchSendContactRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendContactResponse) => void): grpc.ClientUnaryCall;
|
|
1921
|
+
public messageBatchSendContact(request: wechaty_puppet_message_pb.MessageBatchSendContactRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendContactResponse) => void): grpc.ClientUnaryCall;
|
|
1922
|
+
public messageBatchSendUrl(request: wechaty_puppet_message_pb.MessageBatchSendUrlRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendUrlResponse) => void): grpc.ClientUnaryCall;
|
|
1923
|
+
public messageBatchSendUrl(request: wechaty_puppet_message_pb.MessageBatchSendUrlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendUrlResponse) => void): grpc.ClientUnaryCall;
|
|
1924
|
+
public messageBatchSendUrl(request: wechaty_puppet_message_pb.MessageBatchSendUrlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendUrlResponse) => void): grpc.ClientUnaryCall;
|
|
1925
|
+
public messageBatchSendMiniProgram(request: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1926
|
+
public messageBatchSendMiniProgram(request: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1927
|
+
public messageBatchSendMiniProgram(request: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1928
|
+
public messageBatchSendLocation(request: wechaty_puppet_message_pb.MessageBatchSendLocationRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendLocationResponse) => void): grpc.ClientUnaryCall;
|
|
1929
|
+
public messageBatchSendLocation(request: wechaty_puppet_message_pb.MessageBatchSendLocationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendLocationResponse) => void): grpc.ClientUnaryCall;
|
|
1930
|
+
public messageBatchSendLocation(request: wechaty_puppet_message_pb.MessageBatchSendLocationRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendLocationResponse) => void): grpc.ClientUnaryCall;
|
|
1931
|
+
public messageBatchSendChannel(request: wechaty_puppet_message_pb.MessageBatchSendChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1932
|
+
public messageBatchSendChannel(request: wechaty_puppet_message_pb.MessageBatchSendChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1933
|
+
public messageBatchSendChannel(request: wechaty_puppet_message_pb.MessageBatchSendChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelResponse) => void): grpc.ClientUnaryCall;
|
|
1934
|
+
public messageBatchSendChannelCard(request: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse) => void): grpc.ClientUnaryCall;
|
|
1935
|
+
public messageBatchSendChannelCard(request: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse) => void): grpc.ClientUnaryCall;
|
|
1936
|
+
public messageBatchSendChannelCard(request: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse) => void): grpc.ClientUnaryCall;
|
|
1784
1937
|
public messageSendMiniProgram(request: wechaty_puppet_message_pb.MessageSendMiniProgramRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1785
1938
|
public messageSendMiniProgram(request: wechaty_puppet_message_pb.MessageSendMiniProgramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
1786
1939
|
public messageSendMiniProgram(request: wechaty_puppet_message_pb.MessageSendMiniProgramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendMiniProgramResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -890,6 +890,204 @@ function deserialize_wechaty_puppet_LogoutResponse(buffer_arg) {
|
|
|
890
890
|
return wechaty_puppet_base_pb.LogoutResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
891
891
|
}
|
|
892
892
|
|
|
893
|
+
function serialize_wechaty_puppet_MessageBatchForwardRequest(arg) {
|
|
894
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchForwardRequest)) {
|
|
895
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchForwardRequest');
|
|
896
|
+
}
|
|
897
|
+
return Buffer.from(arg.serializeBinary());
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
function deserialize_wechaty_puppet_MessageBatchForwardRequest(buffer_arg) {
|
|
901
|
+
return wechaty_puppet_message_pb.MessageBatchForwardRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
function serialize_wechaty_puppet_MessageBatchForwardResponse(arg) {
|
|
905
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchForwardResponse)) {
|
|
906
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchForwardResponse');
|
|
907
|
+
}
|
|
908
|
+
return Buffer.from(arg.serializeBinary());
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
function deserialize_wechaty_puppet_MessageBatchForwardResponse(buffer_arg) {
|
|
912
|
+
return wechaty_puppet_message_pb.MessageBatchForwardResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
function serialize_wechaty_puppet_MessageBatchSendChannelCardRequest(arg) {
|
|
916
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest)) {
|
|
917
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendChannelCardRequest');
|
|
918
|
+
}
|
|
919
|
+
return Buffer.from(arg.serializeBinary());
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
function deserialize_wechaty_puppet_MessageBatchSendChannelCardRequest(buffer_arg) {
|
|
923
|
+
return wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
function serialize_wechaty_puppet_MessageBatchSendChannelCardResponse(arg) {
|
|
927
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse)) {
|
|
928
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendChannelCardResponse');
|
|
929
|
+
}
|
|
930
|
+
return Buffer.from(arg.serializeBinary());
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
function deserialize_wechaty_puppet_MessageBatchSendChannelCardResponse(buffer_arg) {
|
|
934
|
+
return wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
function serialize_wechaty_puppet_MessageBatchSendChannelRequest(arg) {
|
|
938
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendChannelRequest)) {
|
|
939
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendChannelRequest');
|
|
940
|
+
}
|
|
941
|
+
return Buffer.from(arg.serializeBinary());
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
function deserialize_wechaty_puppet_MessageBatchSendChannelRequest(buffer_arg) {
|
|
945
|
+
return wechaty_puppet_message_pb.MessageBatchSendChannelRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
function serialize_wechaty_puppet_MessageBatchSendChannelResponse(arg) {
|
|
949
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendChannelResponse)) {
|
|
950
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendChannelResponse');
|
|
951
|
+
}
|
|
952
|
+
return Buffer.from(arg.serializeBinary());
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
function deserialize_wechaty_puppet_MessageBatchSendChannelResponse(buffer_arg) {
|
|
956
|
+
return wechaty_puppet_message_pb.MessageBatchSendChannelResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
function serialize_wechaty_puppet_MessageBatchSendContactRequest(arg) {
|
|
960
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendContactRequest)) {
|
|
961
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendContactRequest');
|
|
962
|
+
}
|
|
963
|
+
return Buffer.from(arg.serializeBinary());
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
function deserialize_wechaty_puppet_MessageBatchSendContactRequest(buffer_arg) {
|
|
967
|
+
return wechaty_puppet_message_pb.MessageBatchSendContactRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
function serialize_wechaty_puppet_MessageBatchSendContactResponse(arg) {
|
|
971
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendContactResponse)) {
|
|
972
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendContactResponse');
|
|
973
|
+
}
|
|
974
|
+
return Buffer.from(arg.serializeBinary());
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
function deserialize_wechaty_puppet_MessageBatchSendContactResponse(buffer_arg) {
|
|
978
|
+
return wechaty_puppet_message_pb.MessageBatchSendContactResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
function serialize_wechaty_puppet_MessageBatchSendFileRequest(arg) {
|
|
982
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendFileRequest)) {
|
|
983
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendFileRequest');
|
|
984
|
+
}
|
|
985
|
+
return Buffer.from(arg.serializeBinary());
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
function deserialize_wechaty_puppet_MessageBatchSendFileRequest(buffer_arg) {
|
|
989
|
+
return wechaty_puppet_message_pb.MessageBatchSendFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
function serialize_wechaty_puppet_MessageBatchSendFileResponse(arg) {
|
|
993
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendFileResponse)) {
|
|
994
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendFileResponse');
|
|
995
|
+
}
|
|
996
|
+
return Buffer.from(arg.serializeBinary());
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
function deserialize_wechaty_puppet_MessageBatchSendFileResponse(buffer_arg) {
|
|
1000
|
+
return wechaty_puppet_message_pb.MessageBatchSendFileResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
function serialize_wechaty_puppet_MessageBatchSendLocationRequest(arg) {
|
|
1004
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendLocationRequest)) {
|
|
1005
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendLocationRequest');
|
|
1006
|
+
}
|
|
1007
|
+
return Buffer.from(arg.serializeBinary());
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
function deserialize_wechaty_puppet_MessageBatchSendLocationRequest(buffer_arg) {
|
|
1011
|
+
return wechaty_puppet_message_pb.MessageBatchSendLocationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
function serialize_wechaty_puppet_MessageBatchSendLocationResponse(arg) {
|
|
1015
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendLocationResponse)) {
|
|
1016
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendLocationResponse');
|
|
1017
|
+
}
|
|
1018
|
+
return Buffer.from(arg.serializeBinary());
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
function deserialize_wechaty_puppet_MessageBatchSendLocationResponse(buffer_arg) {
|
|
1022
|
+
return wechaty_puppet_message_pb.MessageBatchSendLocationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
function serialize_wechaty_puppet_MessageBatchSendMiniProgramRequest(arg) {
|
|
1026
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest)) {
|
|
1027
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendMiniProgramRequest');
|
|
1028
|
+
}
|
|
1029
|
+
return Buffer.from(arg.serializeBinary());
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
function deserialize_wechaty_puppet_MessageBatchSendMiniProgramRequest(buffer_arg) {
|
|
1033
|
+
return wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
function serialize_wechaty_puppet_MessageBatchSendMiniProgramResponse(arg) {
|
|
1037
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse)) {
|
|
1038
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendMiniProgramResponse');
|
|
1039
|
+
}
|
|
1040
|
+
return Buffer.from(arg.serializeBinary());
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
function deserialize_wechaty_puppet_MessageBatchSendMiniProgramResponse(buffer_arg) {
|
|
1044
|
+
return wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
function serialize_wechaty_puppet_MessageBatchSendTextRequest(arg) {
|
|
1048
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendTextRequest)) {
|
|
1049
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendTextRequest');
|
|
1050
|
+
}
|
|
1051
|
+
return Buffer.from(arg.serializeBinary());
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
function deserialize_wechaty_puppet_MessageBatchSendTextRequest(buffer_arg) {
|
|
1055
|
+
return wechaty_puppet_message_pb.MessageBatchSendTextRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
function serialize_wechaty_puppet_MessageBatchSendTextResponse(arg) {
|
|
1059
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendTextResponse)) {
|
|
1060
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendTextResponse');
|
|
1061
|
+
}
|
|
1062
|
+
return Buffer.from(arg.serializeBinary());
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
function deserialize_wechaty_puppet_MessageBatchSendTextResponse(buffer_arg) {
|
|
1066
|
+
return wechaty_puppet_message_pb.MessageBatchSendTextResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
function serialize_wechaty_puppet_MessageBatchSendUrlRequest(arg) {
|
|
1070
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendUrlRequest)) {
|
|
1071
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendUrlRequest');
|
|
1072
|
+
}
|
|
1073
|
+
return Buffer.from(arg.serializeBinary());
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
function deserialize_wechaty_puppet_MessageBatchSendUrlRequest(buffer_arg) {
|
|
1077
|
+
return wechaty_puppet_message_pb.MessageBatchSendUrlRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
function serialize_wechaty_puppet_MessageBatchSendUrlResponse(arg) {
|
|
1081
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageBatchSendUrlResponse)) {
|
|
1082
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageBatchSendUrlResponse');
|
|
1083
|
+
}
|
|
1084
|
+
return Buffer.from(arg.serializeBinary());
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
function deserialize_wechaty_puppet_MessageBatchSendUrlResponse(buffer_arg) {
|
|
1088
|
+
return wechaty_puppet_message_pb.MessageBatchSendUrlResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1089
|
+
}
|
|
1090
|
+
|
|
893
1091
|
function serialize_wechaty_puppet_MessageCallRecordRequest(arg) {
|
|
894
1092
|
if (!(arg instanceof wechaty_puppet_message_pb.MessageCallRecordRequest)) {
|
|
895
1093
|
throw new Error('Expected argument of type wechaty.puppet.MessageCallRecordRequest');
|
|
@@ -3071,6 +3269,105 @@ messageFile: {
|
|
|
3071
3269
|
responseSerialize: serialize_wechaty_puppet_MessageSendTextResponse,
|
|
3072
3270
|
responseDeserialize: deserialize_wechaty_puppet_MessageSendTextResponse,
|
|
3073
3271
|
},
|
|
3272
|
+
messageBatchSendText: {
|
|
3273
|
+
path: '/wechaty.Puppet/MessageBatchSendText',
|
|
3274
|
+
requestStream: false,
|
|
3275
|
+
responseStream: false,
|
|
3276
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendTextRequest,
|
|
3277
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendTextResponse,
|
|
3278
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendTextRequest,
|
|
3279
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendTextRequest,
|
|
3280
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendTextResponse,
|
|
3281
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendTextResponse,
|
|
3282
|
+
},
|
|
3283
|
+
messageBatchSendFile: {
|
|
3284
|
+
path: '/wechaty.Puppet/MessageBatchSendFile',
|
|
3285
|
+
requestStream: false,
|
|
3286
|
+
responseStream: false,
|
|
3287
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendFileRequest,
|
|
3288
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendFileResponse,
|
|
3289
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendFileRequest,
|
|
3290
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendFileRequest,
|
|
3291
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendFileResponse,
|
|
3292
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendFileResponse,
|
|
3293
|
+
},
|
|
3294
|
+
messageBatchForward: {
|
|
3295
|
+
path: '/wechaty.Puppet/MessageBatchForward',
|
|
3296
|
+
requestStream: false,
|
|
3297
|
+
responseStream: false,
|
|
3298
|
+
requestType: wechaty_puppet_message_pb.MessageBatchForwardRequest,
|
|
3299
|
+
responseType: wechaty_puppet_message_pb.MessageBatchForwardResponse,
|
|
3300
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchForwardRequest,
|
|
3301
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchForwardRequest,
|
|
3302
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchForwardResponse,
|
|
3303
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchForwardResponse,
|
|
3304
|
+
},
|
|
3305
|
+
messageBatchSendContact: {
|
|
3306
|
+
path: '/wechaty.Puppet/MessageBatchSendContact',
|
|
3307
|
+
requestStream: false,
|
|
3308
|
+
responseStream: false,
|
|
3309
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendContactRequest,
|
|
3310
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendContactResponse,
|
|
3311
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendContactRequest,
|
|
3312
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendContactRequest,
|
|
3313
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendContactResponse,
|
|
3314
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendContactResponse,
|
|
3315
|
+
},
|
|
3316
|
+
messageBatchSendUrl: {
|
|
3317
|
+
path: '/wechaty.Puppet/MessageBatchSendUrl',
|
|
3318
|
+
requestStream: false,
|
|
3319
|
+
responseStream: false,
|
|
3320
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendUrlRequest,
|
|
3321
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendUrlResponse,
|
|
3322
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendUrlRequest,
|
|
3323
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendUrlRequest,
|
|
3324
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendUrlResponse,
|
|
3325
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendUrlResponse,
|
|
3326
|
+
},
|
|
3327
|
+
messageBatchSendMiniProgram: {
|
|
3328
|
+
path: '/wechaty.Puppet/MessageBatchSendMiniProgram',
|
|
3329
|
+
requestStream: false,
|
|
3330
|
+
responseStream: false,
|
|
3331
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest,
|
|
3332
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse,
|
|
3333
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendMiniProgramRequest,
|
|
3334
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendMiniProgramRequest,
|
|
3335
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendMiniProgramResponse,
|
|
3336
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendMiniProgramResponse,
|
|
3337
|
+
},
|
|
3338
|
+
messageBatchSendLocation: {
|
|
3339
|
+
path: '/wechaty.Puppet/MessageBatchSendLocation',
|
|
3340
|
+
requestStream: false,
|
|
3341
|
+
responseStream: false,
|
|
3342
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendLocationRequest,
|
|
3343
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendLocationResponse,
|
|
3344
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendLocationRequest,
|
|
3345
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendLocationRequest,
|
|
3346
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendLocationResponse,
|
|
3347
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendLocationResponse,
|
|
3348
|
+
},
|
|
3349
|
+
messageBatchSendChannel: {
|
|
3350
|
+
path: '/wechaty.Puppet/MessageBatchSendChannel',
|
|
3351
|
+
requestStream: false,
|
|
3352
|
+
responseStream: false,
|
|
3353
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendChannelRequest,
|
|
3354
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendChannelResponse,
|
|
3355
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendChannelRequest,
|
|
3356
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendChannelRequest,
|
|
3357
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendChannelResponse,
|
|
3358
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendChannelResponse,
|
|
3359
|
+
},
|
|
3360
|
+
messageBatchSendChannelCard: {
|
|
3361
|
+
path: '/wechaty.Puppet/MessageBatchSendChannelCard',
|
|
3362
|
+
requestStream: false,
|
|
3363
|
+
responseStream: false,
|
|
3364
|
+
requestType: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest,
|
|
3365
|
+
responseType: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse,
|
|
3366
|
+
requestSerialize: serialize_wechaty_puppet_MessageBatchSendChannelCardRequest,
|
|
3367
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageBatchSendChannelCardRequest,
|
|
3368
|
+
responseSerialize: serialize_wechaty_puppet_MessageBatchSendChannelCardResponse,
|
|
3369
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageBatchSendChannelCardResponse,
|
|
3370
|
+
},
|
|
3074
3371
|
messageSendMiniProgram: {
|
|
3075
3372
|
path: '/wechaty.Puppet/MessageSendMiniProgram',
|
|
3076
3373
|
requestStream: false,
|