@juzi/wechaty-grpc 1.0.100 → 1.0.102
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/wechaty/puppet/base_pb.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/cjs/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/cjs/out/wechaty/puppet/call_pb.js +2869 -79
- 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 +783 -25
- package/dist/cjs/out/wechaty/puppet.swagger.json +1158 -18
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +563 -0
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +693 -12
- package/dist/cjs/proto/wechaty/puppet/base.proto +4 -0
- package/dist/cjs/proto/wechaty/puppet/call.proto +101 -1
- 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 +103 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +85 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/esm/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/esm/out/wechaty/puppet/call_pb.js +2869 -79
- 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 +783 -25
- package/dist/esm/out/wechaty/puppet.swagger.json +1158 -18
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +563 -0
- package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet_pb.js +2 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +693 -12
- package/dist/esm/proto/wechaty/puppet/base.proto +4 -0
- package/dist/esm/proto/wechaty/puppet/call.proto +101 -1
- 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 +103 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +85 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/out/wechaty/puppet/base_pb.js +4 -1
- package/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/out/wechaty/puppet/call_pb.js +2869 -79
- 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 +783 -25
- package/out/wechaty/puppet.swagger.json +1158 -18
- package/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/out/wechaty/puppet_grpc_pb.js +563 -0
- package/out/wechaty/puppet_pb.d.ts +1 -0
- package/out/wechaty/puppet_pb.js +2 -0
- package/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/out/wechaty/puppet_pb_service.js +693 -12
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as wechaty_puppet_pb from "../wechaty/puppet_pb";
|
|
5
5
|
import * as wechaty_puppet_base_pb from "../wechaty/puppet/base_pb";
|
|
6
|
+
import * as wechaty_puppet_call_pb from "../wechaty/puppet/call_pb";
|
|
6
7
|
import * as wechaty_puppet_contact_pb from "../wechaty/puppet/contact_pb";
|
|
7
8
|
import * as wechaty_puppet_download_upload_pb from "../wechaty/puppet/download-upload_pb";
|
|
8
9
|
import * as wechaty_puppet_event_pb from "../wechaty/puppet/event_pb";
|
|
@@ -415,6 +416,78 @@ type PuppetMessageCallRecord = {
|
|
|
415
416
|
readonly responseType: typeof wechaty_puppet_message_pb.MessageCallRecordResponse;
|
|
416
417
|
};
|
|
417
418
|
|
|
419
|
+
type PuppetCallInvite = {
|
|
420
|
+
readonly methodName: string;
|
|
421
|
+
readonly service: typeof Puppet;
|
|
422
|
+
readonly requestStream: false;
|
|
423
|
+
readonly responseStream: false;
|
|
424
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallInviteRequest;
|
|
425
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallInviteResponse;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
type PuppetCallAdd = {
|
|
429
|
+
readonly methodName: string;
|
|
430
|
+
readonly service: typeof Puppet;
|
|
431
|
+
readonly requestStream: false;
|
|
432
|
+
readonly responseStream: false;
|
|
433
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallAddRequest;
|
|
434
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallAddResponse;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
type PuppetCallAccept = {
|
|
438
|
+
readonly methodName: string;
|
|
439
|
+
readonly service: typeof Puppet;
|
|
440
|
+
readonly requestStream: false;
|
|
441
|
+
readonly responseStream: false;
|
|
442
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallAcceptRequest;
|
|
443
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallAcceptResponse;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
type PuppetCallReject = {
|
|
447
|
+
readonly methodName: string;
|
|
448
|
+
readonly service: typeof Puppet;
|
|
449
|
+
readonly requestStream: false;
|
|
450
|
+
readonly responseStream: false;
|
|
451
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallRejectRequest;
|
|
452
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallRejectResponse;
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
type PuppetCallCancel = {
|
|
456
|
+
readonly methodName: string;
|
|
457
|
+
readonly service: typeof Puppet;
|
|
458
|
+
readonly requestStream: false;
|
|
459
|
+
readonly responseStream: false;
|
|
460
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallCancelRequest;
|
|
461
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallCancelResponse;
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
type PuppetCallHangup = {
|
|
465
|
+
readonly methodName: string;
|
|
466
|
+
readonly service: typeof Puppet;
|
|
467
|
+
readonly requestStream: false;
|
|
468
|
+
readonly responseStream: false;
|
|
469
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallHangupRequest;
|
|
470
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallHangupResponse;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
type PuppetCallMediaEndpoint = {
|
|
474
|
+
readonly methodName: string;
|
|
475
|
+
readonly service: typeof Puppet;
|
|
476
|
+
readonly requestStream: false;
|
|
477
|
+
readonly responseStream: false;
|
|
478
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallMediaEndpointRequest;
|
|
479
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallMediaEndpointResponse;
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
type PuppetCallPayload = {
|
|
483
|
+
readonly methodName: string;
|
|
484
|
+
readonly service: typeof Puppet;
|
|
485
|
+
readonly requestStream: false;
|
|
486
|
+
readonly responseStream: false;
|
|
487
|
+
readonly requestType: typeof wechaty_puppet_call_pb.CallPayloadRequest;
|
|
488
|
+
readonly responseType: typeof wechaty_puppet_call_pb.CallPayloadResponse;
|
|
489
|
+
};
|
|
490
|
+
|
|
418
491
|
type PuppetMessageChatHistory = {
|
|
419
492
|
readonly methodName: string;
|
|
420
493
|
readonly service: typeof Puppet;
|
|
@@ -469,6 +542,87 @@ type PuppetMessageSendText = {
|
|
|
469
542
|
readonly responseType: typeof wechaty_puppet_message_pb.MessageSendTextResponse;
|
|
470
543
|
};
|
|
471
544
|
|
|
545
|
+
type PuppetMessageBatchSendText = {
|
|
546
|
+
readonly methodName: string;
|
|
547
|
+
readonly service: typeof Puppet;
|
|
548
|
+
readonly requestStream: false;
|
|
549
|
+
readonly responseStream: false;
|
|
550
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendTextRequest;
|
|
551
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendTextResponse;
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
type PuppetMessageBatchSendFile = {
|
|
555
|
+
readonly methodName: string;
|
|
556
|
+
readonly service: typeof Puppet;
|
|
557
|
+
readonly requestStream: false;
|
|
558
|
+
readonly responseStream: false;
|
|
559
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendFileRequest;
|
|
560
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendFileResponse;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
type PuppetMessageBatchForward = {
|
|
564
|
+
readonly methodName: string;
|
|
565
|
+
readonly service: typeof Puppet;
|
|
566
|
+
readonly requestStream: false;
|
|
567
|
+
readonly responseStream: false;
|
|
568
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchForwardRequest;
|
|
569
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchForwardResponse;
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
type PuppetMessageBatchSendContact = {
|
|
573
|
+
readonly methodName: string;
|
|
574
|
+
readonly service: typeof Puppet;
|
|
575
|
+
readonly requestStream: false;
|
|
576
|
+
readonly responseStream: false;
|
|
577
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendContactRequest;
|
|
578
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendContactResponse;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
type PuppetMessageBatchSendUrl = {
|
|
582
|
+
readonly methodName: string;
|
|
583
|
+
readonly service: typeof Puppet;
|
|
584
|
+
readonly requestStream: false;
|
|
585
|
+
readonly responseStream: false;
|
|
586
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendUrlRequest;
|
|
587
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendUrlResponse;
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
type PuppetMessageBatchSendMiniProgram = {
|
|
591
|
+
readonly methodName: string;
|
|
592
|
+
readonly service: typeof Puppet;
|
|
593
|
+
readonly requestStream: false;
|
|
594
|
+
readonly responseStream: false;
|
|
595
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest;
|
|
596
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse;
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
type PuppetMessageBatchSendLocation = {
|
|
600
|
+
readonly methodName: string;
|
|
601
|
+
readonly service: typeof Puppet;
|
|
602
|
+
readonly requestStream: false;
|
|
603
|
+
readonly responseStream: false;
|
|
604
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendLocationRequest;
|
|
605
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendLocationResponse;
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
type PuppetMessageBatchSendChannel = {
|
|
609
|
+
readonly methodName: string;
|
|
610
|
+
readonly service: typeof Puppet;
|
|
611
|
+
readonly requestStream: false;
|
|
612
|
+
readonly responseStream: false;
|
|
613
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendChannelRequest;
|
|
614
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendChannelResponse;
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
type PuppetMessageBatchSendChannelCard = {
|
|
618
|
+
readonly methodName: string;
|
|
619
|
+
readonly service: typeof Puppet;
|
|
620
|
+
readonly requestStream: false;
|
|
621
|
+
readonly responseStream: false;
|
|
622
|
+
readonly requestType: typeof wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest;
|
|
623
|
+
readonly responseType: typeof wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse;
|
|
624
|
+
};
|
|
625
|
+
|
|
472
626
|
type PuppetMessageSendMiniProgram = {
|
|
473
627
|
readonly methodName: string;
|
|
474
628
|
readonly service: typeof Puppet;
|
|
@@ -1091,12 +1245,29 @@ export class Puppet {
|
|
|
1091
1245
|
static readonly MessageChannel: PuppetMessageChannel;
|
|
1092
1246
|
static readonly MessageChannelCard: PuppetMessageChannelCard;
|
|
1093
1247
|
static readonly MessageCallRecord: PuppetMessageCallRecord;
|
|
1248
|
+
static readonly CallInvite: PuppetCallInvite;
|
|
1249
|
+
static readonly CallAdd: PuppetCallAdd;
|
|
1250
|
+
static readonly CallAccept: PuppetCallAccept;
|
|
1251
|
+
static readonly CallReject: PuppetCallReject;
|
|
1252
|
+
static readonly CallCancel: PuppetCallCancel;
|
|
1253
|
+
static readonly CallHangup: PuppetCallHangup;
|
|
1254
|
+
static readonly CallMediaEndpoint: PuppetCallMediaEndpoint;
|
|
1255
|
+
static readonly CallPayload: PuppetCallPayload;
|
|
1094
1256
|
static readonly MessageChatHistory: PuppetMessageChatHistory;
|
|
1095
1257
|
static readonly MessageRecall: PuppetMessageRecall;
|
|
1096
1258
|
static readonly MessageForward: PuppetMessageForward;
|
|
1097
1259
|
static readonly MessageLocation: PuppetMessageLocation;
|
|
1098
1260
|
static readonly MessageSendContact: PuppetMessageSendContact;
|
|
1099
1261
|
static readonly MessageSendText: PuppetMessageSendText;
|
|
1262
|
+
static readonly MessageBatchSendText: PuppetMessageBatchSendText;
|
|
1263
|
+
static readonly MessageBatchSendFile: PuppetMessageBatchSendFile;
|
|
1264
|
+
static readonly MessageBatchForward: PuppetMessageBatchForward;
|
|
1265
|
+
static readonly MessageBatchSendContact: PuppetMessageBatchSendContact;
|
|
1266
|
+
static readonly MessageBatchSendUrl: PuppetMessageBatchSendUrl;
|
|
1267
|
+
static readonly MessageBatchSendMiniProgram: PuppetMessageBatchSendMiniProgram;
|
|
1268
|
+
static readonly MessageBatchSendLocation: PuppetMessageBatchSendLocation;
|
|
1269
|
+
static readonly MessageBatchSendChannel: PuppetMessageBatchSendChannel;
|
|
1270
|
+
static readonly MessageBatchSendChannelCard: PuppetMessageBatchSendChannelCard;
|
|
1100
1271
|
static readonly MessageSendMiniProgram: PuppetMessageSendMiniProgram;
|
|
1101
1272
|
static readonly MessageSendUrl: PuppetMessageSendUrl;
|
|
1102
1273
|
static readonly MessageSendLocation: PuppetMessageSendLocation;
|
|
@@ -1583,6 +1754,78 @@ export class PuppetClient {
|
|
|
1583
1754
|
requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
|
|
1584
1755
|
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageCallRecordResponse|null) => void
|
|
1585
1756
|
): UnaryResponse;
|
|
1757
|
+
callInvite(
|
|
1758
|
+
requestMessage: wechaty_puppet_call_pb.CallInviteRequest,
|
|
1759
|
+
metadata: grpc.Metadata,
|
|
1760
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallInviteResponse|null) => void
|
|
1761
|
+
): UnaryResponse;
|
|
1762
|
+
callInvite(
|
|
1763
|
+
requestMessage: wechaty_puppet_call_pb.CallInviteRequest,
|
|
1764
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallInviteResponse|null) => void
|
|
1765
|
+
): UnaryResponse;
|
|
1766
|
+
callAdd(
|
|
1767
|
+
requestMessage: wechaty_puppet_call_pb.CallAddRequest,
|
|
1768
|
+
metadata: grpc.Metadata,
|
|
1769
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallAddResponse|null) => void
|
|
1770
|
+
): UnaryResponse;
|
|
1771
|
+
callAdd(
|
|
1772
|
+
requestMessage: wechaty_puppet_call_pb.CallAddRequest,
|
|
1773
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallAddResponse|null) => void
|
|
1774
|
+
): UnaryResponse;
|
|
1775
|
+
callAccept(
|
|
1776
|
+
requestMessage: wechaty_puppet_call_pb.CallAcceptRequest,
|
|
1777
|
+
metadata: grpc.Metadata,
|
|
1778
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallAcceptResponse|null) => void
|
|
1779
|
+
): UnaryResponse;
|
|
1780
|
+
callAccept(
|
|
1781
|
+
requestMessage: wechaty_puppet_call_pb.CallAcceptRequest,
|
|
1782
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallAcceptResponse|null) => void
|
|
1783
|
+
): UnaryResponse;
|
|
1784
|
+
callReject(
|
|
1785
|
+
requestMessage: wechaty_puppet_call_pb.CallRejectRequest,
|
|
1786
|
+
metadata: grpc.Metadata,
|
|
1787
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallRejectResponse|null) => void
|
|
1788
|
+
): UnaryResponse;
|
|
1789
|
+
callReject(
|
|
1790
|
+
requestMessage: wechaty_puppet_call_pb.CallRejectRequest,
|
|
1791
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallRejectResponse|null) => void
|
|
1792
|
+
): UnaryResponse;
|
|
1793
|
+
callCancel(
|
|
1794
|
+
requestMessage: wechaty_puppet_call_pb.CallCancelRequest,
|
|
1795
|
+
metadata: grpc.Metadata,
|
|
1796
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallCancelResponse|null) => void
|
|
1797
|
+
): UnaryResponse;
|
|
1798
|
+
callCancel(
|
|
1799
|
+
requestMessage: wechaty_puppet_call_pb.CallCancelRequest,
|
|
1800
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallCancelResponse|null) => void
|
|
1801
|
+
): UnaryResponse;
|
|
1802
|
+
callHangup(
|
|
1803
|
+
requestMessage: wechaty_puppet_call_pb.CallHangupRequest,
|
|
1804
|
+
metadata: grpc.Metadata,
|
|
1805
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallHangupResponse|null) => void
|
|
1806
|
+
): UnaryResponse;
|
|
1807
|
+
callHangup(
|
|
1808
|
+
requestMessage: wechaty_puppet_call_pb.CallHangupRequest,
|
|
1809
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallHangupResponse|null) => void
|
|
1810
|
+
): UnaryResponse;
|
|
1811
|
+
callMediaEndpoint(
|
|
1812
|
+
requestMessage: wechaty_puppet_call_pb.CallMediaEndpointRequest,
|
|
1813
|
+
metadata: grpc.Metadata,
|
|
1814
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallMediaEndpointResponse|null) => void
|
|
1815
|
+
): UnaryResponse;
|
|
1816
|
+
callMediaEndpoint(
|
|
1817
|
+
requestMessage: wechaty_puppet_call_pb.CallMediaEndpointRequest,
|
|
1818
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallMediaEndpointResponse|null) => void
|
|
1819
|
+
): UnaryResponse;
|
|
1820
|
+
callPayload(
|
|
1821
|
+
requestMessage: wechaty_puppet_call_pb.CallPayloadRequest,
|
|
1822
|
+
metadata: grpc.Metadata,
|
|
1823
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallPayloadResponse|null) => void
|
|
1824
|
+
): UnaryResponse;
|
|
1825
|
+
callPayload(
|
|
1826
|
+
requestMessage: wechaty_puppet_call_pb.CallPayloadRequest,
|
|
1827
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_call_pb.CallPayloadResponse|null) => void
|
|
1828
|
+
): UnaryResponse;
|
|
1586
1829
|
messageChatHistory(
|
|
1587
1830
|
requestMessage: wechaty_puppet_message_pb.MessageChatHistoryRequest,
|
|
1588
1831
|
metadata: grpc.Metadata,
|
|
@@ -1637,6 +1880,87 @@ export class PuppetClient {
|
|
|
1637
1880
|
requestMessage: wechaty_puppet_message_pb.MessageSendTextRequest,
|
|
1638
1881
|
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageSendTextResponse|null) => void
|
|
1639
1882
|
): UnaryResponse;
|
|
1883
|
+
messageBatchSendText(
|
|
1884
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendTextRequest,
|
|
1885
|
+
metadata: grpc.Metadata,
|
|
1886
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendTextResponse|null) => void
|
|
1887
|
+
): UnaryResponse;
|
|
1888
|
+
messageBatchSendText(
|
|
1889
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendTextRequest,
|
|
1890
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendTextResponse|null) => void
|
|
1891
|
+
): UnaryResponse;
|
|
1892
|
+
messageBatchSendFile(
|
|
1893
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendFileRequest,
|
|
1894
|
+
metadata: grpc.Metadata,
|
|
1895
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendFileResponse|null) => void
|
|
1896
|
+
): UnaryResponse;
|
|
1897
|
+
messageBatchSendFile(
|
|
1898
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendFileRequest,
|
|
1899
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendFileResponse|null) => void
|
|
1900
|
+
): UnaryResponse;
|
|
1901
|
+
messageBatchForward(
|
|
1902
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchForwardRequest,
|
|
1903
|
+
metadata: grpc.Metadata,
|
|
1904
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchForwardResponse|null) => void
|
|
1905
|
+
): UnaryResponse;
|
|
1906
|
+
messageBatchForward(
|
|
1907
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchForwardRequest,
|
|
1908
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchForwardResponse|null) => void
|
|
1909
|
+
): UnaryResponse;
|
|
1910
|
+
messageBatchSendContact(
|
|
1911
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendContactRequest,
|
|
1912
|
+
metadata: grpc.Metadata,
|
|
1913
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendContactResponse|null) => void
|
|
1914
|
+
): UnaryResponse;
|
|
1915
|
+
messageBatchSendContact(
|
|
1916
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendContactRequest,
|
|
1917
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendContactResponse|null) => void
|
|
1918
|
+
): UnaryResponse;
|
|
1919
|
+
messageBatchSendUrl(
|
|
1920
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendUrlRequest,
|
|
1921
|
+
metadata: grpc.Metadata,
|
|
1922
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendUrlResponse|null) => void
|
|
1923
|
+
): UnaryResponse;
|
|
1924
|
+
messageBatchSendUrl(
|
|
1925
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendUrlRequest,
|
|
1926
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendUrlResponse|null) => void
|
|
1927
|
+
): UnaryResponse;
|
|
1928
|
+
messageBatchSendMiniProgram(
|
|
1929
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest,
|
|
1930
|
+
metadata: grpc.Metadata,
|
|
1931
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse|null) => void
|
|
1932
|
+
): UnaryResponse;
|
|
1933
|
+
messageBatchSendMiniProgram(
|
|
1934
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendMiniProgramRequest,
|
|
1935
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendMiniProgramResponse|null) => void
|
|
1936
|
+
): UnaryResponse;
|
|
1937
|
+
messageBatchSendLocation(
|
|
1938
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendLocationRequest,
|
|
1939
|
+
metadata: grpc.Metadata,
|
|
1940
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendLocationResponse|null) => void
|
|
1941
|
+
): UnaryResponse;
|
|
1942
|
+
messageBatchSendLocation(
|
|
1943
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendLocationRequest,
|
|
1944
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendLocationResponse|null) => void
|
|
1945
|
+
): UnaryResponse;
|
|
1946
|
+
messageBatchSendChannel(
|
|
1947
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendChannelRequest,
|
|
1948
|
+
metadata: grpc.Metadata,
|
|
1949
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendChannelResponse|null) => void
|
|
1950
|
+
): UnaryResponse;
|
|
1951
|
+
messageBatchSendChannel(
|
|
1952
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendChannelRequest,
|
|
1953
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendChannelResponse|null) => void
|
|
1954
|
+
): UnaryResponse;
|
|
1955
|
+
messageBatchSendChannelCard(
|
|
1956
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest,
|
|
1957
|
+
metadata: grpc.Metadata,
|
|
1958
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse|null) => void
|
|
1959
|
+
): UnaryResponse;
|
|
1960
|
+
messageBatchSendChannelCard(
|
|
1961
|
+
requestMessage: wechaty_puppet_message_pb.MessageBatchSendChannelCardRequest,
|
|
1962
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageBatchSendChannelCardResponse|null) => void
|
|
1963
|
+
): UnaryResponse;
|
|
1640
1964
|
messageSendMiniProgram(
|
|
1641
1965
|
requestMessage: wechaty_puppet_message_pb.MessageSendMiniProgramRequest,
|
|
1642
1966
|
metadata: grpc.Metadata,
|