@juzi/wechaty-grpc 1.0.63 → 1.0.65

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 (97) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs +1 -0
  2. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +1 -0
  3. package/dist/cjs/examples/auth/raw-https/client.js.map +1 -1
  4. package/dist/cjs/examples/auth/server.js +5 -6
  5. package/dist/cjs/examples/auth/server.js.map +1 -1
  6. package/dist/cjs/examples/client.js +2 -1
  7. package/dist/cjs/examples/client.js.map +1 -1
  8. package/dist/cjs/out/wechaty/puppet/call_grpc_pb.js +1 -0
  9. package/dist/cjs/out/wechaty/puppet/call_pb.d.ts +61 -0
  10. package/dist/cjs/out/wechaty/puppet/call_pb.js +338 -0
  11. package/dist/cjs/out/wechaty/puppet/call_pb_service.d.ts +3 -0
  12. package/dist/cjs/out/wechaty/puppet/call_pb_service.js +3 -0
  13. package/dist/cjs/out/wechaty/puppet/channel_pb.d.ts +12 -3
  14. package/dist/cjs/out/wechaty/puppet/channel_pb.js +19 -8
  15. package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +45 -0
  16. package/dist/cjs/out/wechaty/puppet/message_pb.js +330 -1
  17. package/dist/cjs/out/wechaty/puppet.openapi.yaml +164 -86
  18. package/dist/cjs/out/wechaty/puppet.swagger.json +101 -5
  19. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -1
  20. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -1
  21. package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
  22. package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
  23. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
  24. package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
  25. package/dist/cjs/proto/wechaty/puppet/call.proto +28 -0
  26. package/dist/cjs/proto/wechaty/puppet/channel.proto +8 -1
  27. package/dist/cjs/proto/wechaty/puppet/message.proto +11 -0
  28. package/dist/cjs/proto/wechaty/puppet.proto +5 -1
  29. package/dist/cjs/src/package-json.d.ts.map +1 -1
  30. package/dist/cjs/src/package-json.js +7 -6
  31. package/dist/cjs/src/package-json.js.map +1 -1
  32. package/dist/cjs/tests/health-check.spec.js +2 -2
  33. package/dist/cjs/tests/health-check.spec.js.map +1 -1
  34. package/dist/cjs/tests/integration.spec.js.map +1 -1
  35. package/dist/cjs/tests/nullable.spec.js +4 -0
  36. package/dist/cjs/tests/nullable.spec.js.map +1 -1
  37. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  38. package/dist/cjs/tests/puppet-server-impl.js +5 -0
  39. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  40. package/dist/esm/commonjs/generated/puppet.cjs +1 -0
  41. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +1 -0
  42. package/dist/esm/examples/auth/raw-https/client.js.map +1 -1
  43. package/dist/esm/examples/auth/server.js +2 -3
  44. package/dist/esm/examples/auth/server.js.map +1 -1
  45. package/dist/esm/examples/client.js +2 -1
  46. package/dist/esm/examples/client.js.map +1 -1
  47. package/dist/esm/out/wechaty/puppet/call_grpc_pb.js +1 -0
  48. package/dist/esm/out/wechaty/puppet/call_pb.d.ts +61 -0
  49. package/dist/esm/out/wechaty/puppet/call_pb.js +338 -0
  50. package/dist/esm/out/wechaty/puppet/call_pb_service.d.ts +3 -0
  51. package/dist/esm/out/wechaty/puppet/call_pb_service.js +3 -0
  52. package/dist/esm/out/wechaty/puppet/channel_pb.d.ts +12 -3
  53. package/dist/esm/out/wechaty/puppet/channel_pb.js +19 -8
  54. package/dist/esm/out/wechaty/puppet/message_pb.d.ts +45 -0
  55. package/dist/esm/out/wechaty/puppet/message_pb.js +330 -1
  56. package/dist/esm/out/wechaty/puppet.openapi.yaml +164 -86
  57. package/dist/esm/out/wechaty/puppet.swagger.json +101 -5
  58. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -1
  59. package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -1
  60. package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
  61. package/dist/esm/out/wechaty/puppet_pb.js +0 -2
  62. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
  63. package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
  64. package/dist/esm/proto/wechaty/puppet/call.proto +28 -0
  65. package/dist/esm/proto/wechaty/puppet/channel.proto +8 -1
  66. package/dist/esm/proto/wechaty/puppet/message.proto +11 -0
  67. package/dist/esm/proto/wechaty/puppet.proto +5 -1
  68. package/dist/esm/src/package-json.d.ts.map +1 -1
  69. package/dist/esm/src/package-json.js +7 -6
  70. package/dist/esm/src/package-json.js.map +1 -1
  71. package/dist/esm/tests/health-check.spec.js +2 -2
  72. package/dist/esm/tests/health-check.spec.js.map +1 -1
  73. package/dist/esm/tests/integration.spec.js.map +1 -1
  74. package/dist/esm/tests/nullable.spec.js +4 -0
  75. package/dist/esm/tests/nullable.spec.js.map +1 -1
  76. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  77. package/dist/esm/tests/puppet-server-impl.js +5 -0
  78. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  79. package/out/wechaty/puppet/call_grpc_pb.js +1 -0
  80. package/out/wechaty/puppet/call_pb.d.ts +61 -0
  81. package/out/wechaty/puppet/call_pb.js +338 -0
  82. package/out/wechaty/puppet/call_pb_service.d.ts +3 -0
  83. package/out/wechaty/puppet/call_pb_service.js +3 -0
  84. package/out/wechaty/puppet/channel_pb.d.ts +12 -3
  85. package/out/wechaty/puppet/channel_pb.js +19 -8
  86. package/out/wechaty/puppet/message_pb.d.ts +45 -0
  87. package/out/wechaty/puppet/message_pb.js +330 -1
  88. package/out/wechaty/puppet.openapi.yaml +164 -86
  89. package/out/wechaty/puppet.swagger.json +101 -5
  90. package/out/wechaty/puppet_grpc_pb.d.ts +17 -1
  91. package/out/wechaty/puppet_grpc_pb.js +33 -1
  92. package/out/wechaty/puppet_pb.d.ts +0 -1
  93. package/out/wechaty/puppet_pb.js +0 -2
  94. package/out/wechaty/puppet_pb_service.d.ts +19 -0
  95. package/out/wechaty/puppet_pb_service.js +40 -0
  96. package/package.json +7 -6
  97. package/src/package-json.ts +7 -6
@@ -31,6 +31,8 @@ var wechaty_puppet_channel_pb = require('../../wechaty/puppet/channel_pb.js');
31
31
  goog.object.extend(proto, wechaty_puppet_channel_pb);
32
32
  var wechaty_puppet_post_pb = require('../../wechaty/puppet/post_pb.js');
33
33
  goog.object.extend(proto, wechaty_puppet_post_pb);
34
+ var wechaty_puppet_call_pb = require('../../wechaty/puppet/call_pb.js');
35
+ goog.object.extend(proto, wechaty_puppet_call_pb);
34
36
  goog.exportSymbol('proto.wechaty.puppet.BroadcastStatus', null, global);
35
37
  goog.exportSymbol('proto.wechaty.puppet.BroadcastTarget', null, global);
36
38
  goog.exportSymbol('proto.wechaty.puppet.BroadcastTargetStatus', null, global);
@@ -40,6 +42,8 @@ goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastStatusRequest', null,
40
42
  goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastStatusResponse', null, global);
41
43
  goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetRequest', null, global);
42
44
  goog.exportSymbol('proto.wechaty.puppet.GetMessageBroadcastTargetResponse', null, global);
45
+ goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordRequest', null, global);
46
+ goog.exportSymbol('proto.wechaty.puppet.MessageCallRecordlResponse', null, global);
43
47
  goog.exportSymbol('proto.wechaty.puppet.MessageChannelRequest', null, global);
44
48
  goog.exportSymbol('proto.wechaty.puppet.MessageChannelResponse', null, global);
45
49
  goog.exportSymbol('proto.wechaty.puppet.MessageContactRequest', null, global);
@@ -371,6 +375,48 @@ if (goog.DEBUG && !COMPILED) {
371
375
  */
372
376
  proto.wechaty.puppet.MessageChannelResponse.displayName = 'proto.wechaty.puppet.MessageChannelResponse';
373
377
  }
378
+ /**
379
+ * Generated by JsPbCodeGenerator.
380
+ * @param {Array=} opt_data Optional initial data array, typically from a
381
+ * server response, or constructed directly in Javascript. The array is used
382
+ * in place and becomes part of the constructed object. It is not cloned.
383
+ * If no data is provided, the constructed object will be empty, but still
384
+ * valid.
385
+ * @extends {jspb.Message}
386
+ * @constructor
387
+ */
388
+ proto.wechaty.puppet.MessageCallRecordRequest = function(opt_data) {
389
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
390
+ };
391
+ goog.inherits(proto.wechaty.puppet.MessageCallRecordRequest, jspb.Message);
392
+ if (goog.DEBUG && !COMPILED) {
393
+ /**
394
+ * @public
395
+ * @override
396
+ */
397
+ proto.wechaty.puppet.MessageCallRecordRequest.displayName = 'proto.wechaty.puppet.MessageCallRecordRequest';
398
+ }
399
+ /**
400
+ * Generated by JsPbCodeGenerator.
401
+ * @param {Array=} opt_data Optional initial data array, typically from a
402
+ * server response, or constructed directly in Javascript. The array is used
403
+ * in place and becomes part of the constructed object. It is not cloned.
404
+ * If no data is provided, the constructed object will be empty, but still
405
+ * valid.
406
+ * @extends {jspb.Message}
407
+ * @constructor
408
+ */
409
+ proto.wechaty.puppet.MessageCallRecordlResponse = function(opt_data) {
410
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
411
+ };
412
+ goog.inherits(proto.wechaty.puppet.MessageCallRecordlResponse, jspb.Message);
413
+ if (goog.DEBUG && !COMPILED) {
414
+ /**
415
+ * @public
416
+ * @override
417
+ */
418
+ proto.wechaty.puppet.MessageCallRecordlResponse.displayName = 'proto.wechaty.puppet.MessageCallRecordlResponse';
419
+ }
374
420
  /**
375
421
  * Generated by JsPbCodeGenerator.
376
422
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3369,6 +3415,287 @@ proto.wechaty.puppet.MessageChannelResponse.prototype.hasChannel = function() {
3369
3415
 
3370
3416
 
3371
3417
 
3418
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3419
+ /**
3420
+ * Creates an object representation of this proto.
3421
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3422
+ * Optional fields that are not set will be set to undefined.
3423
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3424
+ * For the list of reserved names please see:
3425
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3426
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3427
+ * JSPB instance for transitional soy proto support:
3428
+ * http://goto/soy-param-migration
3429
+ * @return {!Object}
3430
+ */
3431
+ proto.wechaty.puppet.MessageCallRecordRequest.prototype.toObject = function(opt_includeInstance) {
3432
+ return proto.wechaty.puppet.MessageCallRecordRequest.toObject(opt_includeInstance, this);
3433
+ };
3434
+
3435
+
3436
+ /**
3437
+ * Static version of the {@see toObject} method.
3438
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3439
+ * the JSPB instance for transitional soy proto support:
3440
+ * http://goto/soy-param-migration
3441
+ * @param {!proto.wechaty.puppet.MessageCallRecordRequest} msg The msg instance to transform.
3442
+ * @return {!Object}
3443
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3444
+ */
3445
+ proto.wechaty.puppet.MessageCallRecordRequest.toObject = function(includeInstance, msg) {
3446
+ var f, obj = {
3447
+ id: jspb.Message.getFieldWithDefault(msg, 1, "")
3448
+ };
3449
+
3450
+ if (includeInstance) {
3451
+ obj.$jspbMessageInstance = msg;
3452
+ }
3453
+ return obj;
3454
+ };
3455
+ }
3456
+
3457
+
3458
+ /**
3459
+ * Deserializes binary data (in protobuf wire format).
3460
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3461
+ * @return {!proto.wechaty.puppet.MessageCallRecordRequest}
3462
+ */
3463
+ proto.wechaty.puppet.MessageCallRecordRequest.deserializeBinary = function(bytes) {
3464
+ var reader = new jspb.BinaryReader(bytes);
3465
+ var msg = new proto.wechaty.puppet.MessageCallRecordRequest;
3466
+ return proto.wechaty.puppet.MessageCallRecordRequest.deserializeBinaryFromReader(msg, reader);
3467
+ };
3468
+
3469
+
3470
+ /**
3471
+ * Deserializes binary data (in protobuf wire format) from the
3472
+ * given reader into the given message object.
3473
+ * @param {!proto.wechaty.puppet.MessageCallRecordRequest} msg The message object to deserialize into.
3474
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3475
+ * @return {!proto.wechaty.puppet.MessageCallRecordRequest}
3476
+ */
3477
+ proto.wechaty.puppet.MessageCallRecordRequest.deserializeBinaryFromReader = function(msg, reader) {
3478
+ while (reader.nextField()) {
3479
+ if (reader.isEndGroup()) {
3480
+ break;
3481
+ }
3482
+ var field = reader.getFieldNumber();
3483
+ switch (field) {
3484
+ case 1:
3485
+ var value = /** @type {string} */ (reader.readString());
3486
+ msg.setId(value);
3487
+ break;
3488
+ default:
3489
+ reader.skipField();
3490
+ break;
3491
+ }
3492
+ }
3493
+ return msg;
3494
+ };
3495
+
3496
+
3497
+ /**
3498
+ * Serializes the message to binary data (in protobuf wire format).
3499
+ * @return {!Uint8Array}
3500
+ */
3501
+ proto.wechaty.puppet.MessageCallRecordRequest.prototype.serializeBinary = function() {
3502
+ var writer = new jspb.BinaryWriter();
3503
+ proto.wechaty.puppet.MessageCallRecordRequest.serializeBinaryToWriter(this, writer);
3504
+ return writer.getResultBuffer();
3505
+ };
3506
+
3507
+
3508
+ /**
3509
+ * Serializes the given message to binary data (in protobuf wire
3510
+ * format), writing to the given BinaryWriter.
3511
+ * @param {!proto.wechaty.puppet.MessageCallRecordRequest} message
3512
+ * @param {!jspb.BinaryWriter} writer
3513
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3514
+ */
3515
+ proto.wechaty.puppet.MessageCallRecordRequest.serializeBinaryToWriter = function(message, writer) {
3516
+ var f = undefined;
3517
+ f = message.getId();
3518
+ if (f.length > 0) {
3519
+ writer.writeString(
3520
+ 1,
3521
+ f
3522
+ );
3523
+ }
3524
+ };
3525
+
3526
+
3527
+ /**
3528
+ * optional string id = 1;
3529
+ * @return {string}
3530
+ */
3531
+ proto.wechaty.puppet.MessageCallRecordRequest.prototype.getId = function() {
3532
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3533
+ };
3534
+
3535
+
3536
+ /**
3537
+ * @param {string} value
3538
+ * @return {!proto.wechaty.puppet.MessageCallRecordRequest} returns this
3539
+ */
3540
+ proto.wechaty.puppet.MessageCallRecordRequest.prototype.setId = function(value) {
3541
+ return jspb.Message.setProto3StringField(this, 1, value);
3542
+ };
3543
+
3544
+
3545
+
3546
+
3547
+
3548
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3549
+ /**
3550
+ * Creates an object representation of this proto.
3551
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3552
+ * Optional fields that are not set will be set to undefined.
3553
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3554
+ * For the list of reserved names please see:
3555
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3556
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3557
+ * JSPB instance for transitional soy proto support:
3558
+ * http://goto/soy-param-migration
3559
+ * @return {!Object}
3560
+ */
3561
+ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.toObject = function(opt_includeInstance) {
3562
+ return proto.wechaty.puppet.MessageCallRecordlResponse.toObject(opt_includeInstance, this);
3563
+ };
3564
+
3565
+
3566
+ /**
3567
+ * Static version of the {@see toObject} method.
3568
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3569
+ * the JSPB instance for transitional soy proto support:
3570
+ * http://goto/soy-param-migration
3571
+ * @param {!proto.wechaty.puppet.MessageCallRecordlResponse} msg The msg instance to transform.
3572
+ * @return {!Object}
3573
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3574
+ */
3575
+ proto.wechaty.puppet.MessageCallRecordlResponse.toObject = function(includeInstance, msg) {
3576
+ var f, obj = {
3577
+ callRecord: (f = msg.getCallRecord()) && wechaty_puppet_call_pb.CallRecordPayload.toObject(includeInstance, f)
3578
+ };
3579
+
3580
+ if (includeInstance) {
3581
+ obj.$jspbMessageInstance = msg;
3582
+ }
3583
+ return obj;
3584
+ };
3585
+ }
3586
+
3587
+
3588
+ /**
3589
+ * Deserializes binary data (in protobuf wire format).
3590
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3591
+ * @return {!proto.wechaty.puppet.MessageCallRecordlResponse}
3592
+ */
3593
+ proto.wechaty.puppet.MessageCallRecordlResponse.deserializeBinary = function(bytes) {
3594
+ var reader = new jspb.BinaryReader(bytes);
3595
+ var msg = new proto.wechaty.puppet.MessageCallRecordlResponse;
3596
+ return proto.wechaty.puppet.MessageCallRecordlResponse.deserializeBinaryFromReader(msg, reader);
3597
+ };
3598
+
3599
+
3600
+ /**
3601
+ * Deserializes binary data (in protobuf wire format) from the
3602
+ * given reader into the given message object.
3603
+ * @param {!proto.wechaty.puppet.MessageCallRecordlResponse} msg The message object to deserialize into.
3604
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3605
+ * @return {!proto.wechaty.puppet.MessageCallRecordlResponse}
3606
+ */
3607
+ proto.wechaty.puppet.MessageCallRecordlResponse.deserializeBinaryFromReader = function(msg, reader) {
3608
+ while (reader.nextField()) {
3609
+ if (reader.isEndGroup()) {
3610
+ break;
3611
+ }
3612
+ var field = reader.getFieldNumber();
3613
+ switch (field) {
3614
+ case 1:
3615
+ var value = new wechaty_puppet_call_pb.CallRecordPayload;
3616
+ reader.readMessage(value,wechaty_puppet_call_pb.CallRecordPayload.deserializeBinaryFromReader);
3617
+ msg.setCallRecord(value);
3618
+ break;
3619
+ default:
3620
+ reader.skipField();
3621
+ break;
3622
+ }
3623
+ }
3624
+ return msg;
3625
+ };
3626
+
3627
+
3628
+ /**
3629
+ * Serializes the message to binary data (in protobuf wire format).
3630
+ * @return {!Uint8Array}
3631
+ */
3632
+ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.serializeBinary = function() {
3633
+ var writer = new jspb.BinaryWriter();
3634
+ proto.wechaty.puppet.MessageCallRecordlResponse.serializeBinaryToWriter(this, writer);
3635
+ return writer.getResultBuffer();
3636
+ };
3637
+
3638
+
3639
+ /**
3640
+ * Serializes the given message to binary data (in protobuf wire
3641
+ * format), writing to the given BinaryWriter.
3642
+ * @param {!proto.wechaty.puppet.MessageCallRecordlResponse} message
3643
+ * @param {!jspb.BinaryWriter} writer
3644
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3645
+ */
3646
+ proto.wechaty.puppet.MessageCallRecordlResponse.serializeBinaryToWriter = function(message, writer) {
3647
+ var f = undefined;
3648
+ f = message.getCallRecord();
3649
+ if (f != null) {
3650
+ writer.writeMessage(
3651
+ 1,
3652
+ f,
3653
+ wechaty_puppet_call_pb.CallRecordPayload.serializeBinaryToWriter
3654
+ );
3655
+ }
3656
+ };
3657
+
3658
+
3659
+ /**
3660
+ * optional CallRecordPayload call_record = 1;
3661
+ * @return {?proto.wechaty.puppet.CallRecordPayload}
3662
+ */
3663
+ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.getCallRecord = function() {
3664
+ return /** @type{?proto.wechaty.puppet.CallRecordPayload} */ (
3665
+ jspb.Message.getWrapperField(this, wechaty_puppet_call_pb.CallRecordPayload, 1));
3666
+ };
3667
+
3668
+
3669
+ /**
3670
+ * @param {?proto.wechaty.puppet.CallRecordPayload|undefined} value
3671
+ * @return {!proto.wechaty.puppet.MessageCallRecordlResponse} returns this
3672
+ */
3673
+ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.setCallRecord = function(value) {
3674
+ return jspb.Message.setWrapperField(this, 1, value);
3675
+ };
3676
+
3677
+
3678
+ /**
3679
+ * Clears the message field making it undefined.
3680
+ * @return {!proto.wechaty.puppet.MessageCallRecordlResponse} returns this
3681
+ */
3682
+ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.clearCallRecord = function() {
3683
+ return this.setCallRecord(undefined);
3684
+ };
3685
+
3686
+
3687
+ /**
3688
+ * Returns whether this field is set.
3689
+ * @return {boolean}
3690
+ */
3691
+ proto.wechaty.puppet.MessageCallRecordlResponse.prototype.hasCallRecord = function() {
3692
+ return jspb.Message.getField(this, 1) != null;
3693
+ };
3694
+
3695
+
3696
+
3697
+
3698
+
3372
3699
  if (jspb.Message.GENERATE_TO_OBJECT) {
3373
3700
  /**
3374
3701
  * Creates an object representation of this proto.
@@ -8216,7 +8543,9 @@ proto.wechaty.puppet.MessageType = {
8216
8543
  MESSAGE_TYPE_VIDEO: 15,
8217
8544
  MESSAGE_TYPE_POST: 16,
8218
8545
  MESSAGE_TYPE_CHANNEL: 17,
8219
- MESSAGE_TYPE_SYSTEM: 18
8546
+ MESSAGE_TYPE_SYSTEM: 18,
8547
+ MESSAGE_TYPE_MARKDOWN: 19,
8548
+ MESSAGE_TYPE_CALL_RECORD: 20
8220
8549
  };
8221
8550
 
8222
8551
  /**