@juzi/wechaty 1.0.113 → 1.0.115

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 (117) hide show
  1. package/dist/cjs/src/mods/impls.d.ts +3 -3
  2. package/dist/cjs/src/mods/impls.d.ts.map +1 -1
  3. package/dist/cjs/src/mods/impls.js +2 -1
  4. package/dist/cjs/src/mods/impls.js.map +1 -1
  5. package/dist/cjs/src/mods/users.d.ts +1 -1
  6. package/dist/cjs/src/mods/users.d.ts.map +1 -1
  7. package/dist/cjs/src/package-json.js +4 -4
  8. package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
  9. package/dist/cjs/src/sayable/deliver-sayable.js +3 -0
  10. package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
  11. package/dist/cjs/src/sayable/message-to-sayable.d.ts.map +1 -1
  12. package/dist/cjs/src/sayable/message-to-sayable.js +2 -0
  13. package/dist/cjs/src/sayable/message-to-sayable.js.map +1 -1
  14. package/dist/cjs/src/sayable/payload-to-sayable.d.ts.map +1 -1
  15. package/dist/cjs/src/sayable/payload-to-sayable.js +2 -0
  16. package/dist/cjs/src/sayable/payload-to-sayable.js.map +1 -1
  17. package/dist/cjs/src/sayable/sayable-to-payload.d.ts.map +1 -1
  18. package/dist/cjs/src/sayable/sayable-to-payload.js +3 -0
  19. package/dist/cjs/src/sayable/sayable-to-payload.js.map +1 -1
  20. package/dist/cjs/src/sayable/types.d.ts +2 -2
  21. package/dist/cjs/src/sayable/types.d.ts.map +1 -1
  22. package/dist/cjs/src/sayable/types.js.map +1 -1
  23. package/dist/cjs/src/user-modules/channel-card.d.ts +39 -0
  24. package/dist/cjs/src/user-modules/channel-card.d.ts.map +1 -0
  25. package/dist/cjs/src/user-modules/channel-card.js +57 -0
  26. package/dist/cjs/src/user-modules/channel-card.js.map +1 -0
  27. package/dist/cjs/src/user-modules/message.d.ts +2 -0
  28. package/dist/cjs/src/user-modules/message.d.ts.map +1 -1
  29. package/dist/cjs/src/user-modules/message.js +12 -0
  30. package/dist/cjs/src/user-modules/message.js.map +1 -1
  31. package/dist/cjs/src/user-modules/mod.d.ts +4 -3
  32. package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
  33. package/dist/cjs/src/user-modules/mod.js +3 -1
  34. package/dist/cjs/src/user-modules/mod.js.map +1 -1
  35. package/dist/cjs/src/wechaty/wechaty-base.d.ts +276 -36
  36. package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
  37. package/dist/cjs/src/wechaty/wechaty-base.js +1 -1
  38. package/dist/cjs/src/wechaty/wechaty-impl.spec.js +7 -5
  39. package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
  40. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +12 -30
  41. package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  42. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +6 -0
  43. package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  44. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -12
  45. package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  46. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
  47. package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  48. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  49. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  50. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
  51. package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  52. package/dist/esm/src/mods/impls.d.ts +3 -3
  53. package/dist/esm/src/mods/impls.d.ts.map +1 -1
  54. package/dist/esm/src/mods/impls.js +1 -1
  55. package/dist/esm/src/mods/impls.js.map +1 -1
  56. package/dist/esm/src/mods/users.d.ts +1 -1
  57. package/dist/esm/src/mods/users.d.ts.map +1 -1
  58. package/dist/esm/src/package-json.js +4 -4
  59. package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
  60. package/dist/esm/src/sayable/deliver-sayable.js +4 -1
  61. package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
  62. package/dist/esm/src/sayable/message-to-sayable.d.ts.map +1 -1
  63. package/dist/esm/src/sayable/message-to-sayable.js +2 -0
  64. package/dist/esm/src/sayable/message-to-sayable.js.map +1 -1
  65. package/dist/esm/src/sayable/payload-to-sayable.d.ts.map +1 -1
  66. package/dist/esm/src/sayable/payload-to-sayable.js +2 -0
  67. package/dist/esm/src/sayable/payload-to-sayable.js.map +1 -1
  68. package/dist/esm/src/sayable/sayable-to-payload.d.ts.map +1 -1
  69. package/dist/esm/src/sayable/sayable-to-payload.js +4 -1
  70. package/dist/esm/src/sayable/sayable-to-payload.js.map +1 -1
  71. package/dist/esm/src/sayable/types.d.ts +2 -2
  72. package/dist/esm/src/sayable/types.d.ts.map +1 -1
  73. package/dist/esm/src/sayable/types.js.map +1 -1
  74. package/dist/esm/src/user-modules/channel-card.d.ts +39 -0
  75. package/dist/esm/src/user-modules/channel-card.d.ts.map +1 -0
  76. package/dist/esm/src/user-modules/channel-card.js +54 -0
  77. package/dist/esm/src/user-modules/channel-card.js.map +1 -0
  78. package/dist/esm/src/user-modules/message.d.ts +2 -0
  79. package/dist/esm/src/user-modules/message.d.ts.map +1 -1
  80. package/dist/esm/src/user-modules/message.js +12 -0
  81. package/dist/esm/src/user-modules/message.js.map +1 -1
  82. package/dist/esm/src/user-modules/mod.d.ts +4 -3
  83. package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
  84. package/dist/esm/src/user-modules/mod.js +2 -1
  85. package/dist/esm/src/user-modules/mod.js.map +1 -1
  86. package/dist/esm/src/wechaty/wechaty-base.d.ts +276 -36
  87. package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
  88. package/dist/esm/src/wechaty/wechaty-base.js +1 -1
  89. package/dist/esm/src/wechaty/wechaty-impl.spec.js +7 -5
  90. package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
  91. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +12 -30
  92. package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
  93. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +6 -0
  94. package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
  95. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -12
  96. package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
  97. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
  98. package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
  99. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
  100. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
  101. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
  102. package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
  103. package/package.json +3 -3
  104. package/src/mods/impls.ts +3 -0
  105. package/src/mods/users.ts +1 -0
  106. package/src/package-json.ts +4 -4
  107. package/src/sayable/deliver-sayable.ts +6 -0
  108. package/src/sayable/message-to-sayable.ts +3 -0
  109. package/src/sayable/payload-to-sayable.ts +3 -0
  110. package/src/sayable/sayable-to-payload.ts +3 -0
  111. package/src/sayable/types.ts +2 -0
  112. package/src/user-modules/channel-card.ts +85 -0
  113. package/src/user-modules/message.ts +19 -0
  114. package/src/user-modules/mod.ts +8 -0
  115. package/src/wechaty/wechaty-base.ts +1 -1
  116. package/src/wechaty/wechaty-impl.spec.ts +3 -0
  117. package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
@@ -69,13 +69,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
69
69
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
70
70
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
71
71
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
72
- __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
73
- __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
74
- __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
75
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
76
- __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
77
- __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
78
- readonly Contact: import("../user-modules/contact.js").ContactConstructor;
72
+ /**
73
+ * Huan(2021211): Keep the below call back hell
74
+ * because it's easy for testing
75
+ * especially when there's some typing mismatch and we need to figure it out.
76
+ */
79
77
  /**
80
78
  * Main bot class.
81
79
  *
@@ -99,6 +97,14 @@ declare const mixinBase: (abstract new (...args: any[]) => {
99
97
  * bot.on('message', message => console.log(`Message: ${message}`))
100
98
  * bot.start()
101
99
  */
100
+ __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
101
+ __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
102
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
103
+ __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
104
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
105
+ __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
106
+ __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
107
+ readonly Contact: import("../user-modules/contact.js").ContactConstructor;
102
108
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
103
109
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
104
110
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -110,9 +116,51 @@ declare const mixinBase: (abstract new (...args: any[]) => {
110
116
  readonly Room: import("../user-modules/room.js").RoomConstructor;
111
117
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
112
118
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
119
+ /**
120
+ * The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
121
+ * The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
122
+ * The plugins are named XXXPuppet, for example:
123
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
124
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-service):
125
+ * - [PuppetXP](https://github.com/wechaty/puppet-xp)
126
+ *
127
+ * @typedef PuppetModuleName
128
+ * @property {string} PUPPET_DEFAULT
129
+ * The default puppet.
130
+ * @property {string} wechaty-puppet-wechat4u
131
+ * The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
132
+ * @property {string} wechaty-puppet-service
133
+ * - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
134
+ * @property {string} wechaty-puppet-wechat
135
+ * - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
136
+ * @property {string} wechaty-puppet-mock
137
+ * - Using the mock data to mock wechat operation, just for test.
138
+ */
139
+ /**
140
+ * The option parameter to create a wechaty instance
141
+ *
142
+ * @typedef WechatyOptions
143
+ * @property {string} name -Wechaty Name. </br>
144
+ * When you set this: </br>
145
+ * `new Wechaty({name: 'wechaty-name'}) ` </br>
146
+ * it will generate a file called `wechaty-name.memory-card.json`. </br>
147
+ * This file stores the login information for bot. </br>
148
+ * If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
149
+ * Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
150
+ * eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
151
+ * @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
152
+ * @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
153
+ * @property {string} ioToken -Io TOKEN
154
+ */
155
+ /**
156
+ * Creates an instance of Wechaty.
157
+ * @param {WechatyOptions} [options={}]
158
+ *
159
+ */
113
160
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
114
161
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
115
162
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
163
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
116
164
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
117
165
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
118
166
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -172,13 +220,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
172
220
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
173
221
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
174
222
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
175
- __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
176
- __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
177
- __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
178
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
179
- __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
180
- __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
181
- readonly Contact: import("../user-modules/contact.js").ContactConstructor;
223
+ /**
224
+ * Huan(2021211): Keep the below call back hell
225
+ * because it's easy for testing
226
+ * especially when there's some typing mismatch and we need to figure it out.
227
+ */
182
228
  /**
183
229
  * Main bot class.
184
230
  *
@@ -202,6 +248,14 @@ declare const mixinBase: (abstract new (...args: any[]) => {
202
248
  * bot.on('message', message => console.log(`Message: ${message}`))
203
249
  * bot.start()
204
250
  */
251
+ __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
252
+ __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
253
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
254
+ __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
255
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
256
+ __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
257
+ __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
258
+ readonly Contact: import("../user-modules/contact.js").ContactConstructor;
205
259
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
206
260
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
207
261
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -213,9 +267,51 @@ declare const mixinBase: (abstract new (...args: any[]) => {
213
267
  readonly Room: import("../user-modules/room.js").RoomConstructor;
214
268
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
215
269
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
270
+ /**
271
+ * The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
272
+ * The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
273
+ * The plugins are named XXXPuppet, for example:
274
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
275
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-service):
276
+ * - [PuppetXP](https://github.com/wechaty/puppet-xp)
277
+ *
278
+ * @typedef PuppetModuleName
279
+ * @property {string} PUPPET_DEFAULT
280
+ * The default puppet.
281
+ * @property {string} wechaty-puppet-wechat4u
282
+ * The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
283
+ * @property {string} wechaty-puppet-service
284
+ * - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
285
+ * @property {string} wechaty-puppet-wechat
286
+ * - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
287
+ * @property {string} wechaty-puppet-mock
288
+ * - Using the mock data to mock wechat operation, just for test.
289
+ */
290
+ /**
291
+ * The option parameter to create a wechaty instance
292
+ *
293
+ * @typedef WechatyOptions
294
+ * @property {string} name -Wechaty Name. </br>
295
+ * When you set this: </br>
296
+ * `new Wechaty({name: 'wechaty-name'}) ` </br>
297
+ * it will generate a file called `wechaty-name.memory-card.json`. </br>
298
+ * This file stores the login information for bot. </br>
299
+ * If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
300
+ * Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
301
+ * eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
302
+ * @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
303
+ * @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
304
+ * @property {string} ioToken -Io TOKEN
305
+ */
306
+ /**
307
+ * Creates an instance of Wechaty.
308
+ * @param {WechatyOptions} [options={}]
309
+ *
310
+ */
216
311
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
217
312
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
218
313
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
314
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
219
315
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
220
316
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
221
317
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -279,13 +375,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
279
375
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
280
376
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
281
377
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
282
- __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
283
- __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
284
- __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
285
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
286
- __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
287
- __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
288
- readonly Contact: import("../user-modules/contact.js").ContactConstructor;
378
+ /**
379
+ * Huan(2021211): Keep the below call back hell
380
+ * because it's easy for testing
381
+ * especially when there's some typing mismatch and we need to figure it out.
382
+ */
289
383
  /**
290
384
  * Main bot class.
291
385
  *
@@ -309,6 +403,14 @@ declare const mixinBase: (abstract new (...args: any[]) => {
309
403
  * bot.on('message', message => console.log(`Message: ${message}`))
310
404
  * bot.start()
311
405
  */
406
+ __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
407
+ __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
408
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
409
+ __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
410
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
411
+ __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
412
+ __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
413
+ readonly Contact: import("../user-modules/contact.js").ContactConstructor;
312
414
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
313
415
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
314
416
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -320,9 +422,51 @@ declare const mixinBase: (abstract new (...args: any[]) => {
320
422
  readonly Room: import("../user-modules/room.js").RoomConstructor;
321
423
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
322
424
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
425
+ /**
426
+ * The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
427
+ * The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
428
+ * The plugins are named XXXPuppet, for example:
429
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
430
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-service):
431
+ * - [PuppetXP](https://github.com/wechaty/puppet-xp)
432
+ *
433
+ * @typedef PuppetModuleName
434
+ * @property {string} PUPPET_DEFAULT
435
+ * The default puppet.
436
+ * @property {string} wechaty-puppet-wechat4u
437
+ * The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
438
+ * @property {string} wechaty-puppet-service
439
+ * - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
440
+ * @property {string} wechaty-puppet-wechat
441
+ * - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
442
+ * @property {string} wechaty-puppet-mock
443
+ * - Using the mock data to mock wechat operation, just for test.
444
+ */
445
+ /**
446
+ * The option parameter to create a wechaty instance
447
+ *
448
+ * @typedef WechatyOptions
449
+ * @property {string} name -Wechaty Name. </br>
450
+ * When you set this: </br>
451
+ * `new Wechaty({name: 'wechaty-name'}) ` </br>
452
+ * it will generate a file called `wechaty-name.memory-card.json`. </br>
453
+ * This file stores the login information for bot. </br>
454
+ * If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
455
+ * Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
456
+ * eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
457
+ * @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
458
+ * @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
459
+ * @property {string} ioToken -Io TOKEN
460
+ */
461
+ /**
462
+ * Creates an instance of Wechaty.
463
+ * @param {WechatyOptions} [options={}]
464
+ *
465
+ */
323
466
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
324
467
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
325
468
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
469
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
326
470
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
327
471
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
328
472
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -358,13 +502,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
358
502
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
359
503
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
360
504
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
361
- __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
362
- __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
363
- __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
364
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
365
- __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
366
- __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
367
- readonly Contact: import("../user-modules/contact.js").ContactConstructor;
505
+ /**
506
+ * Huan(2021211): Keep the below call back hell
507
+ * because it's easy for testing
508
+ * especially when there's some typing mismatch and we need to figure it out.
509
+ */
368
510
  /**
369
511
  * Main bot class.
370
512
  *
@@ -388,6 +530,14 @@ declare const mixinBase: (abstract new (...args: any[]) => {
388
530
  * bot.on('message', message => console.log(`Message: ${message}`))
389
531
  * bot.start()
390
532
  */
533
+ __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
534
+ __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
535
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
536
+ __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
537
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
538
+ __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
539
+ __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
540
+ readonly Contact: import("../user-modules/contact.js").ContactConstructor;
391
541
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
392
542
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
393
543
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -399,9 +549,51 @@ declare const mixinBase: (abstract new (...args: any[]) => {
399
549
  readonly Room: import("../user-modules/room.js").RoomConstructor;
400
550
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
401
551
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
552
+ /**
553
+ * The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
554
+ * The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
555
+ * The plugins are named XXXPuppet, for example:
556
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
557
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-service):
558
+ * - [PuppetXP](https://github.com/wechaty/puppet-xp)
559
+ *
560
+ * @typedef PuppetModuleName
561
+ * @property {string} PUPPET_DEFAULT
562
+ * The default puppet.
563
+ * @property {string} wechaty-puppet-wechat4u
564
+ * The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
565
+ * @property {string} wechaty-puppet-service
566
+ * - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
567
+ * @property {string} wechaty-puppet-wechat
568
+ * - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
569
+ * @property {string} wechaty-puppet-mock
570
+ * - Using the mock data to mock wechat operation, just for test.
571
+ */
572
+ /**
573
+ * The option parameter to create a wechaty instance
574
+ *
575
+ * @typedef WechatyOptions
576
+ * @property {string} name -Wechaty Name. </br>
577
+ * When you set this: </br>
578
+ * `new Wechaty({name: 'wechaty-name'}) ` </br>
579
+ * it will generate a file called `wechaty-name.memory-card.json`. </br>
580
+ * This file stores the login information for bot. </br>
581
+ * If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
582
+ * Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
583
+ * eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
584
+ * @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
585
+ * @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
586
+ * @property {string} ioToken -Io TOKEN
587
+ */
588
+ /**
589
+ * Creates an instance of Wechaty.
590
+ * @param {WechatyOptions} [options={}]
591
+ *
592
+ */
402
593
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
403
594
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
404
595
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
596
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
405
597
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
406
598
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
407
599
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -480,13 +672,11 @@ declare const mixinBase: (abstract new (...args: any[]) => {
480
672
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
481
673
  __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
482
674
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
483
- __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
484
- __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
485
- __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
486
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
487
- __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
488
- __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
489
- readonly Contact: import("../user-modules/contact.js").ContactConstructor;
675
+ /**
676
+ * Huan(2021211): Keep the below call back hell
677
+ * because it's easy for testing
678
+ * especially when there's some typing mismatch and we need to figure it out.
679
+ */
490
680
  /**
491
681
  * Main bot class.
492
682
  *
@@ -510,6 +700,14 @@ declare const mixinBase: (abstract new (...args: any[]) => {
510
700
  * bot.on('message', message => console.log(`Message: ${message}`))
511
701
  * bot.start()
512
702
  */
703
+ __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
704
+ __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
705
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
706
+ __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
707
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
708
+ __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
709
+ __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
710
+ readonly Contact: import("../user-modules/contact.js").ContactConstructor;
513
711
  readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
514
712
  readonly Delay: import("../user-modules/delay.js").DelayConstructor;
515
713
  readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
@@ -521,9 +719,51 @@ declare const mixinBase: (abstract new (...args: any[]) => {
521
719
  readonly Room: import("../user-modules/room.js").RoomConstructor;
522
720
  readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
523
721
  readonly Tag: import("../user-modules/tag.js").TagConstructor;
722
+ /**
723
+ * The term [Puppet](https://wechaty.js.org/docs/specs/puppet) in Wechaty is an Abstract Class for implementing protocol plugins.
724
+ * The plugins are the component that helps Wechaty to control the WeChat(that's the reason we call it puppet).
725
+ * The plugins are named XXXPuppet, for example:
726
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-wechat):
727
+ * - [PuppetWeChat](https://github.com/wechaty/puppet-service):
728
+ * - [PuppetXP](https://github.com/wechaty/puppet-xp)
729
+ *
730
+ * @typedef PuppetModuleName
731
+ * @property {string} PUPPET_DEFAULT
732
+ * The default puppet.
733
+ * @property {string} wechaty-puppet-wechat4u
734
+ * The default puppet, using the [wechat4u](https://github.com/nodeWechat/wechat4u) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
735
+ * @property {string} wechaty-puppet-service
736
+ * - Using the gRPC protocol to connect with a Protocol Server for controlling the any protocol of any IM program.
737
+ * @property {string} wechaty-puppet-wechat
738
+ * - Using the [google puppeteer](https://github.com/GoogleChrome/puppeteer) to control the [WeChat Web API](https://wx.qq.com/) via a chrome browser.
739
+ * @property {string} wechaty-puppet-mock
740
+ * - Using the mock data to mock wechat operation, just for test.
741
+ */
742
+ /**
743
+ * The option parameter to create a wechaty instance
744
+ *
745
+ * @typedef WechatyOptions
746
+ * @property {string} name -Wechaty Name. </br>
747
+ * When you set this: </br>
748
+ * `new Wechaty({name: 'wechaty-name'}) ` </br>
749
+ * it will generate a file called `wechaty-name.memory-card.json`. </br>
750
+ * This file stores the login information for bot. </br>
751
+ * If the file is valid, the bot can auto login so you don't need to scan the qrCode to login again. </br>
752
+ * Also, you can set the environment variable for `WECHATY_NAME` to set this value when you start. </br>
753
+ * eg: `WECHATY_NAME="your-cute-bot-name" node bot.js`
754
+ * @property {PuppetModuleName | Puppet} puppet -Puppet name or instance
755
+ * @property {Partial<PuppetOptions>} puppetOptions -Puppet TOKEN
756
+ * @property {string} ioToken -Io TOKEN
757
+ */
758
+ /**
759
+ * Creates an instance of Wechaty.
760
+ * @param {WechatyOptions} [options={}]
761
+ *
762
+ */
524
763
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
525
764
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
526
765
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
766
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
527
767
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
528
768
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
529
769
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -667,7 +907,7 @@ declare class WechatyBase extends mixinBase implements SayableSayer {
667
907
  * > Tips:
668
908
  * This function is depending on the Puppet Implementation, see [puppet-compatible-table](https://github.com/wechaty/wechaty/wiki/Puppet#3-puppet-compatible-table)
669
909
  *
670
- * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel)} sayable
910
+ * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard)} sayable
671
911
  * send text, Contact, or file to bot. </br>
672
912
  * You can use {@link https://www.npmjs.com/package/file-box|FileBox} to send file
673
913
  *
@@ -1 +1 @@
1
- {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AE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAMV,gBAAgB,CACpB,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,IAAI,CAAC;IAMV,aAAa,IAChB,OAAO,CAAC,IAAI,CAAC;CAUjB;AAED,aAAK,4BAA4B,GAE7B,oBAAoB,GACpB,gCAAgC,GAChC,SAAS,GACT,SAAS,GACT,QAAQ,CAAA;AAEZ,YAAY,EACV,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
@@ -154,7 +154,7 @@ class WechatyBase extends mixinBase {
154
154
  * > Tips:
155
155
  * This function is depending on the Puppet Implementation, see [puppet-compatible-table](https://github.com/wechaty/wechaty/wiki/Puppet#3-puppet-compatible-table)
156
156
  *
157
- * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel)} sayable
157
+ * @param {(string | Contact | FileBox | UrlLink | MiniProgram | Location | Channel | ChannelCard)} sayable
158
158
  * send text, Contact, or file to bot. </br>
159
159
  * You can use {@link https://www.npmjs.com/package/file-box|FileBox} to send file
160
160
  *
@@ -24,6 +24,7 @@ test('Wechaty interface', async (t) => {
24
24
  TagGroup;
25
25
  UrlLink;
26
26
  Channel;
27
+ ChannelCard;
27
28
  Moment;
28
29
  CallRecord;
29
30
  ChatHistory;
@@ -46,11 +47,12 @@ test('Wechaty interface', async (t) => {
46
47
  = this.TagGroup
47
48
  = this.UrlLink
48
49
  = this.Channel
49
- = this.Moment
50
- = this.CallRecord
51
- = this.ChatHistory
52
- = this.Wecom
53
- = {};
50
+ = this.ChannelCard
51
+ = this.Moment
52
+ = this.CallRecord
53
+ = this.ChatHistory
54
+ = this.Wecom
55
+ = {};
54
56
  }
55
57
  }
56
58
  const WechatyTest = WechatyImplementation;
@@ -1 +1 @@
1
- {"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ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AS,EAAE,CAAC,GAAqB,EAAE,EAAE;QACxC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;IAEF,CAAC,CAAC,EAAE,CAAC,OAAO,qBAAqB,EAAE,wBAAwB,CAAC,CAAA;AAC9D,CAAC,CAAC,CAAA;AAEF,2CAA2C;AAC3C,gCAAgC;AAChC,wCAAwC;AAExC,2FAA2F;AAC3F,qEAAqE;AAErE,uCAAuC;AACvC,kFAAkF;AAClF,KAAK;AAEL,IAAI,CAAC,+BAA+B,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAC9C,MAAM,MAAM,GAAI,IAAI,UAAU,EAAS,CAAA;IACvC,MAAM,OAAO,GAAG,IAAI,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,sDAAsD,CAAC,CAAA;IAEtF,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
@@ -22,20 +22,13 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
22
22
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
23
23
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
24
24
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
25
- __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined; /**
26
- * Logout the bot
27
- *
28
- * @returns {Promise<void>}
29
- * @example
30
- * await bot.logout()
31
- */
25
+ __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
32
26
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
33
27
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
34
28
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
29
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
35
30
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
36
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined; /**
37
- * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
38
- */
31
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
39
32
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
40
33
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
41
34
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -53,6 +46,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
53
46
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
54
47
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
55
48
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
49
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
56
50
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
57
51
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
58
52
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -97,20 +91,13 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
97
91
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
98
92
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
99
93
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
100
- __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined; /**
101
- * Logout the bot
102
- *
103
- * @returns {Promise<void>}
104
- * @example
105
- * await bot.logout()
106
- */
94
+ __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
107
95
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
108
96
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
109
97
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
98
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
110
99
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
111
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined; /**
112
- * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
113
- */
100
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
114
101
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
115
102
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
116
103
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -128,6 +115,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
128
115
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
129
116
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
130
117
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
118
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
131
119
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
132
120
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
133
121
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -302,20 +290,13 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
302
290
  __wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
303
291
  __wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
304
292
  __wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
305
- __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined; /**
306
- * Logout the bot
307
- *
308
- * @returns {Promise<void>}
309
- * @example
310
- * await bot.logout()
311
- */
293
+ __wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
312
294
  __wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
313
295
  __wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
314
296
  __wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
297
+ __wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
315
298
  __wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
316
- __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined; /**
317
- * @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
318
- */
299
+ __wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
319
300
  __wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
320
301
  __wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
321
302
  readonly Contact: import("../user-modules/contact.js").ContactConstructor;
@@ -333,6 +314,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
333
314
  readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
334
315
  readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
335
316
  readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
317
+ readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
336
318
  readonly Moment: import("../user-modules/moment.js").MomentConstructor;
337
319
  readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
338
320
  readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
@@ -1 +1 @@
1
- {"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;oFA+DZ;;;;;;OAMG;;;;;mGAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFAdH;;;;;;OAMG;;;;;mGAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDA7BmB,GAAG,EAAE;;IAvC3B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;;;YAqBqB,QAAQ,IAAI,CAAC;IAUrC;;;;;;OAMG;oBACoB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAK7C;;OAEG;gBACU,OAAO;IAKpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFAvBH;;;;;;OAMG;;;;;mGAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBN,CAAA;AAED,aAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAA;AAE/C,aAAK,2BAA2B,GAC5B,UAAU,GACV,UAAU,GACV,oBAAoB,CAAA;AAExB,YAAY,EACV,UAAU,EACV,2BAA2B,GAC5B,CAAA;AACD,OAAO,EACL,UAAU,GACX,CAAA"}
1
+ {"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-m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