@juzi/wechaty-grpc 1.0.93 → 1.0.95

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.
Files changed (63) hide show
  1. package/dist/cjs/out/wechaty/puppet/channel-card_grpc_pb.js +1 -0
  2. package/dist/cjs/out/wechaty/puppet/channel-card_pb.d.ts +45 -0
  3. package/dist/cjs/out/wechaty/puppet/channel-card_pb.js +320 -0
  4. package/dist/cjs/out/wechaty/puppet/channel-card_pb_service.d.ts +3 -0
  5. package/dist/cjs/out/wechaty/puppet/channel-card_pb_service.js +3 -0
  6. package/dist/cjs/out/wechaty/puppet/chat-history_pb.d.ts +8 -0
  7. package/dist/cjs/out/wechaty/puppet/chat-history_pb.js +56 -2
  8. package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +90 -0
  9. package/dist/cjs/out/wechaty/puppet/message_pb.js +1708 -1025
  10. package/dist/cjs/out/wechaty/puppet.openapi.yaml +85 -1
  11. package/dist/cjs/out/wechaty/puppet.swagger.json +130 -4
  12. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  13. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
  14. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
  15. package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
  16. package/dist/cjs/proto/wechaty/puppet/channel-card.proto +15 -0
  17. package/dist/cjs/proto/wechaty/puppet/chat-history.proto +3 -0
  18. package/dist/cjs/proto/wechaty/puppet/message.proto +39 -23
  19. package/dist/cjs/proto/wechaty/puppet.proto +11 -0
  20. package/dist/cjs/src/package-json.js +1 -1
  21. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  22. package/dist/cjs/tests/puppet-server-impl.js +10 -0
  23. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  24. package/dist/esm/out/wechaty/puppet/channel-card_grpc_pb.js +1 -0
  25. package/dist/esm/out/wechaty/puppet/channel-card_pb.d.ts +45 -0
  26. package/dist/esm/out/wechaty/puppet/channel-card_pb.js +320 -0
  27. package/dist/esm/out/wechaty/puppet/channel-card_pb_service.d.ts +3 -0
  28. package/dist/esm/out/wechaty/puppet/channel-card_pb_service.js +3 -0
  29. package/dist/esm/out/wechaty/puppet/chat-history_pb.d.ts +8 -0
  30. package/dist/esm/out/wechaty/puppet/chat-history_pb.js +56 -2
  31. package/dist/esm/out/wechaty/puppet/message_pb.d.ts +90 -0
  32. package/dist/esm/out/wechaty/puppet/message_pb.js +1708 -1025
  33. package/dist/esm/out/wechaty/puppet.openapi.yaml +85 -1
  34. package/dist/esm/out/wechaty/puppet.swagger.json +130 -4
  35. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  36. package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
  37. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
  38. package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
  39. package/dist/esm/proto/wechaty/puppet/channel-card.proto +15 -0
  40. package/dist/esm/proto/wechaty/puppet/chat-history.proto +3 -0
  41. package/dist/esm/proto/wechaty/puppet/message.proto +39 -23
  42. package/dist/esm/proto/wechaty/puppet.proto +11 -0
  43. package/dist/esm/src/package-json.js +1 -1
  44. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  45. package/dist/esm/tests/puppet-server-impl.js +10 -0
  46. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  47. package/out/wechaty/puppet/channel-card_grpc_pb.js +1 -0
  48. package/out/wechaty/puppet/channel-card_pb.d.ts +45 -0
  49. package/out/wechaty/puppet/channel-card_pb.js +320 -0
  50. package/out/wechaty/puppet/channel-card_pb_service.d.ts +3 -0
  51. package/out/wechaty/puppet/channel-card_pb_service.js +3 -0
  52. package/out/wechaty/puppet/chat-history_pb.d.ts +8 -0
  53. package/out/wechaty/puppet/chat-history_pb.js +56 -2
  54. package/out/wechaty/puppet/message_pb.d.ts +90 -0
  55. package/out/wechaty/puppet/message_pb.js +1708 -1025
  56. package/out/wechaty/puppet.openapi.yaml +85 -1
  57. package/out/wechaty/puppet.swagger.json +130 -4
  58. package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  59. package/out/wechaty/puppet_grpc_pb.js +66 -0
  60. package/out/wechaty/puppet_pb_service.d.ts +38 -0
  61. package/out/wechaty/puppet_pb_service.js +80 -0
  62. package/package.json +1 -1
  63. package/src/package-json.ts +1 -1
@@ -9,7 +9,7 @@ info:
9
9
 
10
10
  Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
11
  top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
- version: 1.0.93
12
+ version: 1.0.95
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -514,6 +514,30 @@ paths:
514
514
  $ref: '#/definitions/PuppetMessageSendChannelBody'
515
515
  tags:
516
516
  - Puppet
517
+ /conversations/{conversationId}/channel-card:
518
+ post:
519
+ operationId: Puppet_MessageSendChannelCard
520
+ responses:
521
+ '200':
522
+ description: A successful response.
523
+ schema:
524
+ $ref: '#/definitions/puppetMessageSendChannelCardResponse'
525
+ default:
526
+ description: An unexpected error response.
527
+ schema:
528
+ $ref: '#/definitions/rpcStatus'
529
+ parameters:
530
+ - name: conversationId
531
+ in: path
532
+ required: true
533
+ type: string
534
+ - name: body
535
+ in: body
536
+ required: true
537
+ schema:
538
+ $ref: '#/definitions/PuppetMessageSendChannelCardBody'
539
+ tags:
540
+ - Puppet
517
541
  /conversations/{conversationId}/contact:
518
542
  post:
519
543
  operationId: Puppet_MessageSendContact
@@ -1139,6 +1163,25 @@ paths:
1139
1163
  type: string
1140
1164
  tags:
1141
1165
  - Puppet
1166
+ /message/{id}/channel-card:
1167
+ get:
1168
+ operationId: Puppet_MessageChannelCard
1169
+ responses:
1170
+ '200':
1171
+ description: A successful response.
1172
+ schema:
1173
+ $ref: '#/definitions/puppetMessageChannelCardResponse'
1174
+ default:
1175
+ description: An unexpected error response.
1176
+ schema:
1177
+ $ref: '#/definitions/rpcStatus'
1178
+ parameters:
1179
+ - name: id
1180
+ in: path
1181
+ required: true
1182
+ type: string
1183
+ tags:
1184
+ - Puppet
1142
1185
  /message/{id}/chat-history:
1143
1186
  get:
1144
1187
  operationId: Puppet_MessageChatHistory
@@ -2804,6 +2847,11 @@ definitions:
2804
2847
  properties:
2805
2848
  channel:
2806
2849
  $ref: '#/definitions/puppetChannelPayload'
2850
+ PuppetMessageSendChannelCardBody:
2851
+ type: object
2852
+ properties:
2853
+ channelCard:
2854
+ $ref: '#/definitions/puppetChannelCardPayload'
2807
2855
  PuppetMessageSendContactBody:
2808
2856
  type: object
2809
2857
  properties:
@@ -2987,6 +3035,27 @@ definitions:
2987
3035
  - CALL_TYPE_VIDEO: 视频
2988
3036
  puppetCancelVerifyCodeResponse:
2989
3037
  type: object
3038
+ puppetChannelCardPayload:
3039
+ type: object
3040
+ properties:
3041
+ avatar:
3042
+ type: string
3043
+ title: 头像
3044
+ extras:
3045
+ type: string
3046
+ title: 额外信息
3047
+ nickname:
3048
+ type: string
3049
+ title: 用户名
3050
+ url:
3051
+ type: string
3052
+ title: 视频号地址
3053
+ authIconUrl:
3054
+ type: string
3055
+ title: 认证图标URL
3056
+ authJob:
3057
+ type: string
3058
+ title: 认证职业
2990
3059
  puppetChannelFeedType:
2991
3060
  type: string
2992
3061
  enum:
@@ -3049,6 +3118,8 @@ definitions:
3049
3118
  items:
3050
3119
  type: object
3051
3120
  $ref: '#/definitions/puppetChatHistoryPayload'
3121
+ channelCard:
3122
+ $ref: '#/definitions/puppetChannelCardPayload'
3052
3123
  puppetChatHistoryContentType:
3053
3124
  type: string
3054
3125
  enum:
@@ -3059,6 +3130,7 @@ definitions:
3059
3130
  - MINI_PROGRAM
3060
3131
  - CHANNEL
3061
3132
  - CHAT_HISTORY
3133
+ - ChANNEL_CARD
3062
3134
  default: TEXT
3063
3135
  puppetChatHistoryPayload:
3064
3136
  type: object
@@ -3573,6 +3645,11 @@ definitions:
3573
3645
  properties:
3574
3646
  callRecord:
3575
3647
  $ref: '#/definitions/puppetCallRecordPayload'
3648
+ puppetMessageChannelCardResponse:
3649
+ type: object
3650
+ properties:
3651
+ channelCard:
3652
+ $ref: '#/definitions/puppetChannelCardPayload'
3576
3653
  puppetMessageChannelResponse:
3577
3654
  type: object
3578
3655
  properties:
@@ -3705,6 +3782,11 @@ definitions:
3705
3782
  properties:
3706
3783
  success:
3707
3784
  type: boolean
3785
+ puppetMessageSendChannelCardResponse:
3786
+ type: object
3787
+ properties:
3788
+ id:
3789
+ type: string
3708
3790
  puppetMessageSendChannelResponse:
3709
3791
  type: object
3710
3792
  properties:
@@ -3826,6 +3908,7 @@ definitions:
3826
3908
  - MESSAGE_TYPE_SYSTEM
3827
3909
  - MESSAGE_TYPE_MARKDOWN
3828
3910
  - MESSAGE_TYPE_CALL_RECORD
3911
+ - MESSAGE_TYPE_CHANNEL_CARD
3829
3912
  default: MESSAGE_TYPE_UNSPECIFIED
3830
3913
  description: |-
3831
3914
  - MESSAGE_TYPE_ATTACHMENT: 文件消息
@@ -3848,6 +3931,7 @@ definitions:
3848
3931
  - MESSAGE_TYPE_SYSTEM: 系统消息
3849
3932
  - MESSAGE_TYPE_MARKDOWN: MarkDown
3850
3933
  - MESSAGE_TYPE_CALL_RECORD: 通话记录
3934
+ - MESSAGE_TYPE_CHANNEL_CARD: 视频号名片
3851
3935
  title: 消息类型
3852
3936
  puppetMessageUrlResponse:
3853
3937
  type: object
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Wechaty Puppet Service OpenAPI Specification",
5
5
  "description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
6
- "version": "1.0.93",
6
+ "version": "1.0.95",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -784,6 +784,44 @@
784
784
  ]
785
785
  }
786
786
  },
787
+ "/conversations/{conversationId}/channel-card": {
788
+ "post": {
789
+ "operationId": "Puppet_MessageSendChannelCard",
790
+ "responses": {
791
+ "200": {
792
+ "description": "A successful response.",
793
+ "schema": {
794
+ "$ref": "#/definitions/puppetMessageSendChannelCardResponse"
795
+ }
796
+ },
797
+ "default": {
798
+ "description": "An unexpected error response.",
799
+ "schema": {
800
+ "$ref": "#/definitions/rpcStatus"
801
+ }
802
+ }
803
+ },
804
+ "parameters": [
805
+ {
806
+ "name": "conversationId",
807
+ "in": "path",
808
+ "required": true,
809
+ "type": "string"
810
+ },
811
+ {
812
+ "name": "body",
813
+ "in": "body",
814
+ "required": true,
815
+ "schema": {
816
+ "$ref": "#/definitions/PuppetMessageSendChannelCardBody"
817
+ }
818
+ }
819
+ ],
820
+ "tags": [
821
+ "Puppet"
822
+ ]
823
+ }
824
+ },
787
825
  "/conversations/{conversationId}/contact": {
788
826
  "post": {
789
827
  "operationId": "Puppet_MessageSendContact",
@@ -1693,6 +1731,36 @@
1693
1731
  ]
1694
1732
  }
1695
1733
  },
1734
+ "/message/{id}/channel-card": {
1735
+ "get": {
1736
+ "operationId": "Puppet_MessageChannelCard",
1737
+ "responses": {
1738
+ "200": {
1739
+ "description": "A successful response.",
1740
+ "schema": {
1741
+ "$ref": "#/definitions/puppetMessageChannelCardResponse"
1742
+ }
1743
+ },
1744
+ "default": {
1745
+ "description": "An unexpected error response.",
1746
+ "schema": {
1747
+ "$ref": "#/definitions/rpcStatus"
1748
+ }
1749
+ }
1750
+ },
1751
+ "parameters": [
1752
+ {
1753
+ "name": "id",
1754
+ "in": "path",
1755
+ "required": true,
1756
+ "type": "string"
1757
+ }
1758
+ ],
1759
+ "tags": [
1760
+ "Puppet"
1761
+ ]
1762
+ }
1763
+ },
1696
1764
  "/message/{id}/chat-history": {
1697
1765
  "get": {
1698
1766
  "operationId": "Puppet_MessageChatHistory",
@@ -4208,6 +4276,14 @@
4208
4276
  }
4209
4277
  }
4210
4278
  },
4279
+ "PuppetMessageSendChannelCardBody": {
4280
+ "type": "object",
4281
+ "properties": {
4282
+ "channelCard": {
4283
+ "$ref": "#/definitions/puppetChannelCardPayload"
4284
+ }
4285
+ }
4286
+ },
4211
4287
  "PuppetMessageSendContactBody": {
4212
4288
  "type": "object",
4213
4289
  "properties": {
@@ -4443,6 +4519,35 @@
4443
4519
  "puppetCancelVerifyCodeResponse": {
4444
4520
  "type": "object"
4445
4521
  },
4522
+ "puppetChannelCardPayload": {
4523
+ "type": "object",
4524
+ "properties": {
4525
+ "avatar": {
4526
+ "type": "string",
4527
+ "title": "头像"
4528
+ },
4529
+ "extras": {
4530
+ "type": "string",
4531
+ "title": "额外信息"
4532
+ },
4533
+ "nickname": {
4534
+ "type": "string",
4535
+ "title": "用户名"
4536
+ },
4537
+ "url": {
4538
+ "type": "string",
4539
+ "title": "视频号地址"
4540
+ },
4541
+ "authIconUrl": {
4542
+ "type": "string",
4543
+ "title": "认证图标URL"
4544
+ },
4545
+ "authJob": {
4546
+ "type": "string",
4547
+ "title": "认证职业"
4548
+ }
4549
+ }
4550
+ },
4446
4551
  "puppetChannelFeedType": {
4447
4552
  "type": "string",
4448
4553
  "enum": [
@@ -4527,6 +4632,9 @@
4527
4632
  "type": "object",
4528
4633
  "$ref": "#/definitions/puppetChatHistoryPayload"
4529
4634
  }
4635
+ },
4636
+ "channelCard": {
4637
+ "$ref": "#/definitions/puppetChannelCardPayload"
4530
4638
  }
4531
4639
  }
4532
4640
  },
@@ -4539,7 +4647,8 @@
4539
4647
  "URL",
4540
4648
  "MINI_PROGRAM",
4541
4649
  "CHANNEL",
4542
- "CHAT_HISTORY"
4650
+ "CHAT_HISTORY",
4651
+ "ChANNEL_CARD"
4543
4652
  ],
4544
4653
  "default": "TEXT"
4545
4654
  },
@@ -5188,6 +5297,14 @@
5188
5297
  }
5189
5298
  }
5190
5299
  },
5300
+ "puppetMessageChannelCardResponse": {
5301
+ "type": "object",
5302
+ "properties": {
5303
+ "channelCard": {
5304
+ "$ref": "#/definitions/puppetChannelCardPayload"
5305
+ }
5306
+ }
5307
+ },
5191
5308
  "puppetMessageChannelResponse": {
5192
5309
  "type": "object",
5193
5310
  "properties": {
@@ -5365,6 +5482,14 @@
5365
5482
  }
5366
5483
  }
5367
5484
  },
5485
+ "puppetMessageSendChannelCardResponse": {
5486
+ "type": "object",
5487
+ "properties": {
5488
+ "id": {
5489
+ "type": "string"
5490
+ }
5491
+ }
5492
+ },
5368
5493
  "puppetMessageSendChannelResponse": {
5369
5494
  "type": "object",
5370
5495
  "properties": {
@@ -5491,10 +5616,11 @@
5491
5616
  "MESSAGE_TYPE_CHANNEL",
5492
5617
  "MESSAGE_TYPE_SYSTEM",
5493
5618
  "MESSAGE_TYPE_MARKDOWN",
5494
- "MESSAGE_TYPE_CALL_RECORD"
5619
+ "MESSAGE_TYPE_CALL_RECORD",
5620
+ "MESSAGE_TYPE_CHANNEL_CARD"
5495
5621
  ],
5496
5622
  "default": "MESSAGE_TYPE_UNSPECIFIED",
5497
- "description": "- MESSAGE_TYPE_ATTACHMENT: 文件消息\n - MESSAGE_TYPE_AUDIO: 音频\n - MESSAGE_TYPE_CONTACT: 名片\n - MESSAGE_TYPE_CHAT_HISTORY: 聊天记录,wxwork暂不支持\n - MESSAGE_TYPE_EMOTCION: 表情\n - MESSAGE_TYPE_IMAGE: 图片\n - MESSAGE_TYPE_TEXT: 文本\n - MESSAGE_TYPE_LOCATION: 地址\n - MESSAGE_TYPE_MINI_PROGRAM: 小程序\n - MESSAGE_TYPE_GROUP_NOTE: 群接龙消息,wxwork中没有\n - MESSAGE_TYPE_TRANSFER: 转账,wxwork中没有\n - MESSAGE_TYPE_RED_ENVELOPE: 红包,wxwork中没有\n - MESSAGE_TYPE_RECALLED: 撤回\n - MESSAGE_TYPE_URL: 链接\n - MESSAGE_TYPE_VIDEO: 视频\n - MESSAGE_TYPE_POST: 特殊的复合类型,wxwork中没有\n - MESSAGE_TYPE_CHANNEL: 视频号\n - MESSAGE_TYPE_SYSTEM: 系统消息\n - MESSAGE_TYPE_MARKDOWN: MarkDown\n - MESSAGE_TYPE_CALL_RECORD: 通话记录",
5623
+ "description": "- MESSAGE_TYPE_ATTACHMENT: 文件消息\n - MESSAGE_TYPE_AUDIO: 音频\n - MESSAGE_TYPE_CONTACT: 名片\n - MESSAGE_TYPE_CHAT_HISTORY: 聊天记录,wxwork暂不支持\n - MESSAGE_TYPE_EMOTCION: 表情\n - MESSAGE_TYPE_IMAGE: 图片\n - MESSAGE_TYPE_TEXT: 文本\n - MESSAGE_TYPE_LOCATION: 地址\n - MESSAGE_TYPE_MINI_PROGRAM: 小程序\n - MESSAGE_TYPE_GROUP_NOTE: 群接龙消息,wxwork中没有\n - MESSAGE_TYPE_TRANSFER: 转账,wxwork中没有\n - MESSAGE_TYPE_RED_ENVELOPE: 红包,wxwork中没有\n - MESSAGE_TYPE_RECALLED: 撤回\n - MESSAGE_TYPE_URL: 链接\n - MESSAGE_TYPE_VIDEO: 视频\n - MESSAGE_TYPE_POST: 特殊的复合类型,wxwork中没有\n - MESSAGE_TYPE_CHANNEL: 视频号\n - MESSAGE_TYPE_SYSTEM: 系统消息\n - MESSAGE_TYPE_MARKDOWN: MarkDown\n - MESSAGE_TYPE_CALL_RECORD: 通话记录\n - MESSAGE_TYPE_CHANNEL_CARD: 视频号名片",
5498
5624
  "title": "消息类型"
5499
5625
  },
5500
5626
  "puppetMessageUrlResponse": {
@@ -66,6 +66,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
66
66
  messageMiniProgram: IPuppetService_IMessageMiniProgram;
67
67
  messageUrl: IPuppetService_IMessageUrl;
68
68
  messageChannel: IPuppetService_IMessageChannel;
69
+ messageChannelCard: IPuppetService_IMessageChannelCard;
69
70
  messageCallRecord: IPuppetService_IMessageCallRecord;
70
71
  messageChatHistory: IPuppetService_IMessageChatHistory;
71
72
  messageRecall: IPuppetService_IMessageRecall;
@@ -77,6 +78,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
77
78
  messageSendUrl: IPuppetService_IMessageSendUrl;
78
79
  messageSendLocation: IPuppetService_IMessageSendLocation;
79
80
  messageSendChannel: IPuppetService_IMessageSendChannel;
81
+ messageSendChannelCard: IPuppetService_IMessageSendChannelCard;
80
82
  messageSendPost: IPuppetService_IMessageSendPost;
81
83
  messagePreview: IPuppetService_IMessagePreview;
82
84
  getMessageBroadcastTarget: IPuppetService_IGetMessageBroadcastTarget;
@@ -514,6 +516,15 @@ interface IPuppetService_IMessageChannel extends grpc.MethodDefinition<wechaty_p
514
516
  responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageChannelResponse>;
515
517
  responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageChannelResponse>;
516
518
  }
519
+ interface IPuppetService_IMessageChannelCard extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageChannelCardRequest, wechaty_puppet_message_pb.MessageChannelCardResponse> {
520
+ path: "/wechaty.Puppet/MessageChannelCard";
521
+ requestStream: false;
522
+ responseStream: false;
523
+ requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageChannelCardRequest>;
524
+ requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageChannelCardRequest>;
525
+ responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageChannelCardResponse>;
526
+ responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageChannelCardResponse>;
527
+ }
517
528
  interface IPuppetService_IMessageCallRecord extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse> {
518
529
  path: "/wechaty.Puppet/MessageCallRecord";
519
530
  requestStream: false;
@@ -613,6 +624,15 @@ interface IPuppetService_IMessageSendChannel extends grpc.MethodDefinition<wecha
613
624
  responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageSendChannelResponse>;
614
625
  responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageSendChannelResponse>;
615
626
  }
627
+ interface IPuppetService_IMessageSendChannelCard extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageSendChannelCardRequest, wechaty_puppet_message_pb.MessageSendChannelCardResponse> {
628
+ path: "/wechaty.Puppet/MessageSendChannelCard";
629
+ requestStream: false;
630
+ responseStream: false;
631
+ requestSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageSendChannelCardRequest>;
632
+ requestDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageSendChannelCardRequest>;
633
+ responseSerialize: grpc.serialize<wechaty_puppet_message_pb.MessageSendChannelCardResponse>;
634
+ responseDeserialize: grpc.deserialize<wechaty_puppet_message_pb.MessageSendChannelCardResponse>;
635
+ }
616
636
  interface IPuppetService_IMessageSendPost extends grpc.MethodDefinition<wechaty_puppet_message_pb.MessageSendPostRequest, wechaty_puppet_message_pb.MessageSendPostResponse> {
617
637
  path: "/wechaty.Puppet/MessageSendPost";
618
638
  requestStream: false;
@@ -1172,6 +1192,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
1172
1192
  messageMiniProgram: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageMiniProgramRequest, wechaty_puppet_message_pb.MessageMiniProgramResponse>;
1173
1193
  messageUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageUrlRequest, wechaty_puppet_message_pb.MessageUrlResponse>;
1174
1194
  messageChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChannelRequest, wechaty_puppet_message_pb.MessageChannelResponse>;
1195
+ messageChannelCard: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChannelCardRequest, wechaty_puppet_message_pb.MessageChannelCardResponse>;
1175
1196
  messageCallRecord: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageCallRecordRequest, wechaty_puppet_message_pb.MessageCallRecordResponse>;
1176
1197
  messageChatHistory: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageChatHistoryRequest, wechaty_puppet_message_pb.MessageChatHistoryResponse>;
1177
1198
  messageRecall: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageRecallRequest, wechaty_puppet_message_pb.MessageRecallResponse>;
@@ -1183,6 +1204,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
1183
1204
  messageSendUrl: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendUrlRequest, wechaty_puppet_message_pb.MessageSendUrlResponse>;
1184
1205
  messageSendLocation: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendLocationRequest, wechaty_puppet_message_pb.MessageSendLocationResponse>;
1185
1206
  messageSendChannel: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendChannelRequest, wechaty_puppet_message_pb.MessageSendChannelResponse>;
1207
+ messageSendChannelCard: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendChannelCardRequest, wechaty_puppet_message_pb.MessageSendChannelCardResponse>;
1186
1208
  messageSendPost: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessageSendPostRequest, wechaty_puppet_message_pb.MessageSendPostResponse>;
1187
1209
  messagePreview: grpc.handleUnaryCall<wechaty_puppet_message_pb.MessagePreviewRequest, wechaty_puppet_message_pb.MessagePreviewResponse>;
1188
1210
  getMessageBroadcastTarget: grpc.handleUnaryCall<wechaty_puppet_message_pb.GetMessageBroadcastTargetRequest, wechaty_puppet_message_pb.GetMessageBroadcastTargetResponse>;
@@ -1368,6 +1390,9 @@ export interface IPuppetClient {
1368
1390
  messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
1369
1391
  messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
1370
1392
  messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
1393
+ messageChannelCard(request: wechaty_puppet_message_pb.MessageChannelCardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelCardResponse) => void): grpc.ClientUnaryCall;
1394
+ messageChannelCard(request: wechaty_puppet_message_pb.MessageChannelCardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelCardResponse) => void): grpc.ClientUnaryCall;
1395
+ messageChannelCard(request: wechaty_puppet_message_pb.MessageChannelCardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelCardResponse) => void): grpc.ClientUnaryCall;
1371
1396
  messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
1372
1397
  messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
1373
1398
  messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
@@ -1401,6 +1426,9 @@ export interface IPuppetClient {
1401
1426
  messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
1402
1427
  messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
1403
1428
  messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
1429
+ messageSendChannelCard(request: wechaty_puppet_message_pb.MessageSendChannelCardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelCardResponse) => void): grpc.ClientUnaryCall;
1430
+ messageSendChannelCard(request: wechaty_puppet_message_pb.MessageSendChannelCardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelCardResponse) => void): grpc.ClientUnaryCall;
1431
+ messageSendChannelCard(request: wechaty_puppet_message_pb.MessageSendChannelCardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelCardResponse) => void): grpc.ClientUnaryCall;
1404
1432
  messageSendPost(request: wechaty_puppet_message_pb.MessageSendPostRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendPostResponse) => void): grpc.ClientUnaryCall;
1405
1433
  messageSendPost(request: wechaty_puppet_message_pb.MessageSendPostRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendPostResponse) => void): grpc.ClientUnaryCall;
1406
1434
  messageSendPost(request: wechaty_puppet_message_pb.MessageSendPostRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendPostResponse) => void): grpc.ClientUnaryCall;
@@ -1701,6 +1729,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
1701
1729
  public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
1702
1730
  public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
1703
1731
  public messageChannel(request: wechaty_puppet_message_pb.MessageChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelResponse) => void): grpc.ClientUnaryCall;
1732
+ public messageChannelCard(request: wechaty_puppet_message_pb.MessageChannelCardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelCardResponse) => void): grpc.ClientUnaryCall;
1733
+ public messageChannelCard(request: wechaty_puppet_message_pb.MessageChannelCardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelCardResponse) => void): grpc.ClientUnaryCall;
1734
+ public messageChannelCard(request: wechaty_puppet_message_pb.MessageChannelCardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageChannelCardResponse) => void): grpc.ClientUnaryCall;
1704
1735
  public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
1705
1736
  public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
1706
1737
  public messageCallRecord(request: wechaty_puppet_message_pb.MessageCallRecordRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageCallRecordResponse) => void): grpc.ClientUnaryCall;
@@ -1734,6 +1765,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
1734
1765
  public messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
1735
1766
  public messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
1736
1767
  public messageSendChannel(request: wechaty_puppet_message_pb.MessageSendChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelResponse) => void): grpc.ClientUnaryCall;
1768
+ public messageSendChannelCard(request: wechaty_puppet_message_pb.MessageSendChannelCardRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelCardResponse) => void): grpc.ClientUnaryCall;
1769
+ public messageSendChannelCard(request: wechaty_puppet_message_pb.MessageSendChannelCardRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelCardResponse) => void): grpc.ClientUnaryCall;
1770
+ public messageSendChannelCard(request: wechaty_puppet_message_pb.MessageSendChannelCardRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendChannelCardResponse) => void): grpc.ClientUnaryCall;
1737
1771
  public messageSendPost(request: wechaty_puppet_message_pb.MessageSendPostRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendPostResponse) => void): grpc.ClientUnaryCall;
1738
1772
  public messageSendPost(request: wechaty_puppet_message_pb.MessageSendPostRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendPostResponse) => void): grpc.ClientUnaryCall;
1739
1773
  public messageSendPost(request: wechaty_puppet_message_pb.MessageSendPostRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_message_pb.MessageSendPostResponse) => void): grpc.ClientUnaryCall;
@@ -912,6 +912,28 @@ function deserialize_wechaty_puppet_MessageCallRecordResponse(buffer_arg) {
912
912
  return wechaty_puppet_message_pb.MessageCallRecordResponse.deserializeBinary(new Uint8Array(buffer_arg));
913
913
  }
914
914
 
915
+ function serialize_wechaty_puppet_MessageChannelCardRequest(arg) {
916
+ if (!(arg instanceof wechaty_puppet_message_pb.MessageChannelCardRequest)) {
917
+ throw new Error('Expected argument of type wechaty.puppet.MessageChannelCardRequest');
918
+ }
919
+ return Buffer.from(arg.serializeBinary());
920
+ }
921
+
922
+ function deserialize_wechaty_puppet_MessageChannelCardRequest(buffer_arg) {
923
+ return wechaty_puppet_message_pb.MessageChannelCardRequest.deserializeBinary(new Uint8Array(buffer_arg));
924
+ }
925
+
926
+ function serialize_wechaty_puppet_MessageChannelCardResponse(arg) {
927
+ if (!(arg instanceof wechaty_puppet_message_pb.MessageChannelCardResponse)) {
928
+ throw new Error('Expected argument of type wechaty.puppet.MessageChannelCardResponse');
929
+ }
930
+ return Buffer.from(arg.serializeBinary());
931
+ }
932
+
933
+ function deserialize_wechaty_puppet_MessageChannelCardResponse(buffer_arg) {
934
+ return wechaty_puppet_message_pb.MessageChannelCardResponse.deserializeBinary(new Uint8Array(buffer_arg));
935
+ }
936
+
915
937
  function serialize_wechaty_puppet_MessageChannelRequest(arg) {
916
938
  if (!(arg instanceof wechaty_puppet_message_pb.MessageChannelRequest)) {
917
939
  throw new Error('Expected argument of type wechaty.puppet.MessageChannelRequest');
@@ -1154,6 +1176,28 @@ function deserialize_wechaty_puppet_MessageRecallResponse(buffer_arg) {
1154
1176
  return wechaty_puppet_message_pb.MessageRecallResponse.deserializeBinary(new Uint8Array(buffer_arg));
1155
1177
  }
1156
1178
 
1179
+ function serialize_wechaty_puppet_MessageSendChannelCardRequest(arg) {
1180
+ if (!(arg instanceof wechaty_puppet_message_pb.MessageSendChannelCardRequest)) {
1181
+ throw new Error('Expected argument of type wechaty.puppet.MessageSendChannelCardRequest');
1182
+ }
1183
+ return Buffer.from(arg.serializeBinary());
1184
+ }
1185
+
1186
+ function deserialize_wechaty_puppet_MessageSendChannelCardRequest(buffer_arg) {
1187
+ return wechaty_puppet_message_pb.MessageSendChannelCardRequest.deserializeBinary(new Uint8Array(buffer_arg));
1188
+ }
1189
+
1190
+ function serialize_wechaty_puppet_MessageSendChannelCardResponse(arg) {
1191
+ if (!(arg instanceof wechaty_puppet_message_pb.MessageSendChannelCardResponse)) {
1192
+ throw new Error('Expected argument of type wechaty.puppet.MessageSendChannelCardResponse');
1193
+ }
1194
+ return Buffer.from(arg.serializeBinary());
1195
+ }
1196
+
1197
+ function deserialize_wechaty_puppet_MessageSendChannelCardResponse(buffer_arg) {
1198
+ return wechaty_puppet_message_pb.MessageSendChannelCardResponse.deserializeBinary(new Uint8Array(buffer_arg));
1199
+ }
1200
+
1157
1201
  function serialize_wechaty_puppet_MessageSendChannelRequest(arg) {
1158
1202
  if (!(arg instanceof wechaty_puppet_message_pb.MessageSendChannelRequest)) {
1159
1203
  throw new Error('Expected argument of type wechaty.puppet.MessageSendChannelRequest');
@@ -2895,6 +2939,17 @@ messageFile: {
2895
2939
  responseSerialize: serialize_wechaty_puppet_MessageChannelResponse,
2896
2940
  responseDeserialize: deserialize_wechaty_puppet_MessageChannelResponse,
2897
2941
  },
2942
+ messageChannelCard: {
2943
+ path: '/wechaty.Puppet/MessageChannelCard',
2944
+ requestStream: false,
2945
+ responseStream: false,
2946
+ requestType: wechaty_puppet_message_pb.MessageChannelCardRequest,
2947
+ responseType: wechaty_puppet_message_pb.MessageChannelCardResponse,
2948
+ requestSerialize: serialize_wechaty_puppet_MessageChannelCardRequest,
2949
+ requestDeserialize: deserialize_wechaty_puppet_MessageChannelCardRequest,
2950
+ responseSerialize: serialize_wechaty_puppet_MessageChannelCardResponse,
2951
+ responseDeserialize: deserialize_wechaty_puppet_MessageChannelCardResponse,
2952
+ },
2898
2953
  messageCallRecord: {
2899
2954
  path: '/wechaty.Puppet/MessageCallRecord',
2900
2955
  requestStream: false,
@@ -3016,6 +3071,17 @@ messageFile: {
3016
3071
  responseSerialize: serialize_wechaty_puppet_MessageSendChannelResponse,
3017
3072
  responseDeserialize: deserialize_wechaty_puppet_MessageSendChannelResponse,
3018
3073
  },
3074
+ messageSendChannelCard: {
3075
+ path: '/wechaty.Puppet/MessageSendChannelCard',
3076
+ requestStream: false,
3077
+ responseStream: false,
3078
+ requestType: wechaty_puppet_message_pb.MessageSendChannelCardRequest,
3079
+ responseType: wechaty_puppet_message_pb.MessageSendChannelCardResponse,
3080
+ requestSerialize: serialize_wechaty_puppet_MessageSendChannelCardRequest,
3081
+ requestDeserialize: deserialize_wechaty_puppet_MessageSendChannelCardRequest,
3082
+ responseSerialize: serialize_wechaty_puppet_MessageSendChannelCardResponse,
3083
+ responseDeserialize: deserialize_wechaty_puppet_MessageSendChannelCardResponse,
3084
+ },
3019
3085
  messageSendPost: {
3020
3086
  path: '/wechaty.Puppet/MessageSendPost',
3021
3087
  requestStream: false,
@@ -397,6 +397,15 @@ type PuppetMessageChannel = {
397
397
  readonly responseType: typeof wechaty_puppet_message_pb.MessageChannelResponse;
398
398
  };
399
399
 
400
+ type PuppetMessageChannelCard = {
401
+ readonly methodName: string;
402
+ readonly service: typeof Puppet;
403
+ readonly requestStream: false;
404
+ readonly responseStream: false;
405
+ readonly requestType: typeof wechaty_puppet_message_pb.MessageChannelCardRequest;
406
+ readonly responseType: typeof wechaty_puppet_message_pb.MessageChannelCardResponse;
407
+ };
408
+
400
409
  type PuppetMessageCallRecord = {
401
410
  readonly methodName: string;
402
411
  readonly service: typeof Puppet;
@@ -496,6 +505,15 @@ type PuppetMessageSendChannel = {
496
505
  readonly responseType: typeof wechaty_puppet_message_pb.MessageSendChannelResponse;
497
506
  };
498
507
 
508
+ type PuppetMessageSendChannelCard = {
509
+ readonly methodName: string;
510
+ readonly service: typeof Puppet;
511
+ readonly requestStream: false;
512
+ readonly responseStream: false;
513
+ readonly requestType: typeof wechaty_puppet_message_pb.MessageSendChannelCardRequest;
514
+ readonly responseType: typeof wechaty_puppet_message_pb.MessageSendChannelCardResponse;
515
+ };
516
+
499
517
  type PuppetMessageSendPost = {
500
518
  readonly methodName: string;
501
519
  readonly service: typeof Puppet;
@@ -1053,6 +1071,7 @@ export class Puppet {
1053
1071
  static readonly MessageMiniProgram: PuppetMessageMiniProgram;
1054
1072
  static readonly MessageUrl: PuppetMessageUrl;
1055
1073
  static readonly MessageChannel: PuppetMessageChannel;
1074
+ static readonly MessageChannelCard: PuppetMessageChannelCard;
1056
1075
  static readonly MessageCallRecord: PuppetMessageCallRecord;
1057
1076
  static readonly MessageChatHistory: PuppetMessageChatHistory;
1058
1077
  static readonly MessageRecall: PuppetMessageRecall;
@@ -1064,6 +1083,7 @@ export class Puppet {
1064
1083
  static readonly MessageSendUrl: PuppetMessageSendUrl;
1065
1084
  static readonly MessageSendLocation: PuppetMessageSendLocation;
1066
1085
  static readonly MessageSendChannel: PuppetMessageSendChannel;
1086
+ static readonly MessageSendChannelCard: PuppetMessageSendChannelCard;
1067
1087
  static readonly MessageSendPost: PuppetMessageSendPost;
1068
1088
  static readonly MessagePreview: PuppetMessagePreview;
1069
1089
  static readonly GetMessageBroadcastTarget: PuppetGetMessageBroadcastTarget;
@@ -1525,6 +1545,15 @@ export class PuppetClient {
1525
1545
  requestMessage: wechaty_puppet_message_pb.MessageChannelRequest,
1526
1546
  callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageChannelResponse|null) => void
1527
1547
  ): UnaryResponse;
1548
+ messageChannelCard(
1549
+ requestMessage: wechaty_puppet_message_pb.MessageChannelCardRequest,
1550
+ metadata: grpc.Metadata,
1551
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageChannelCardResponse|null) => void
1552
+ ): UnaryResponse;
1553
+ messageChannelCard(
1554
+ requestMessage: wechaty_puppet_message_pb.MessageChannelCardRequest,
1555
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageChannelCardResponse|null) => void
1556
+ ): UnaryResponse;
1528
1557
  messageCallRecord(
1529
1558
  requestMessage: wechaty_puppet_message_pb.MessageCallRecordRequest,
1530
1559
  metadata: grpc.Metadata,
@@ -1624,6 +1653,15 @@ export class PuppetClient {
1624
1653
  requestMessage: wechaty_puppet_message_pb.MessageSendChannelRequest,
1625
1654
  callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageSendChannelResponse|null) => void
1626
1655
  ): UnaryResponse;
1656
+ messageSendChannelCard(
1657
+ requestMessage: wechaty_puppet_message_pb.MessageSendChannelCardRequest,
1658
+ metadata: grpc.Metadata,
1659
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageSendChannelCardResponse|null) => void
1660
+ ): UnaryResponse;
1661
+ messageSendChannelCard(
1662
+ requestMessage: wechaty_puppet_message_pb.MessageSendChannelCardRequest,
1663
+ callback: (error: ServiceError|null, responseMessage: wechaty_puppet_message_pb.MessageSendChannelCardResponse|null) => void
1664
+ ): UnaryResponse;
1627
1665
  messageSendPost(
1628
1666
  requestMessage: wechaty_puppet_message_pb.MessageSendPostRequest,
1629
1667
  metadata: grpc.Metadata,