@juzi/wechaty-grpc 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +6 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.js +51 -2
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +44 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +336 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +33 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +50 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/cjs/proto/wechaty/puppet/contact.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +7 -0
- package/dist/cjs/proto/wechaty/puppet.proto +7 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +5 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +6 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.js +51 -2
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +44 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +336 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +33 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +50 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/esm/proto/wechaty/puppet/contact.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +7 -0
- package/dist/esm/proto/wechaty/puppet.proto +7 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +5 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/contact_pb.d.ts +6 -0
- package/out/wechaty/puppet/contact_pb.js +51 -2
- package/out/wechaty/puppet/room_pb.d.ts +44 -0
- package/out/wechaty/puppet/room_pb.js +336 -1
- package/out/wechaty/puppet.openapi.yaml +33 -1
- package/out/wechaty/puppet.swagger.json +50 -1
- package/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/out/wechaty/puppet_grpc_pb.js +33 -0
- package/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/out/wechaty/puppet_pb_service.js +40 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -35,6 +35,8 @@ goog.exportSymbol('proto.wechaty.puppet.RoomQRCodeRequest', null, global);
|
|
|
35
35
|
goog.exportSymbol('proto.wechaty.puppet.RoomQRCodeResponse', null, global);
|
|
36
36
|
goog.exportSymbol('proto.wechaty.puppet.RoomQuitRequest', null, global);
|
|
37
37
|
goog.exportSymbol('proto.wechaty.puppet.RoomQuitResponse', null, global);
|
|
38
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomRemarkRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomRemarkResponse', null, global);
|
|
38
40
|
goog.exportSymbol('proto.wechaty.puppet.RoomTopicRequest', null, global);
|
|
39
41
|
goog.exportSymbol('proto.wechaty.puppet.RoomTopicResponse', null, global);
|
|
40
42
|
/**
|
|
@@ -457,6 +459,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
457
459
|
*/
|
|
458
460
|
proto.wechaty.puppet.RoomAnnounceResponse.displayName = 'proto.wechaty.puppet.RoomAnnounceResponse';
|
|
459
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* Generated by JsPbCodeGenerator.
|
|
464
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
465
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
466
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
467
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
468
|
+
* valid.
|
|
469
|
+
* @extends {jspb.Message}
|
|
470
|
+
* @constructor
|
|
471
|
+
*/
|
|
472
|
+
proto.wechaty.puppet.RoomRemarkRequest = function(opt_data) {
|
|
473
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
474
|
+
};
|
|
475
|
+
goog.inherits(proto.wechaty.puppet.RoomRemarkRequest, jspb.Message);
|
|
476
|
+
if (goog.DEBUG && !COMPILED) {
|
|
477
|
+
/**
|
|
478
|
+
* @public
|
|
479
|
+
* @override
|
|
480
|
+
*/
|
|
481
|
+
proto.wechaty.puppet.RoomRemarkRequest.displayName = 'proto.wechaty.puppet.RoomRemarkRequest';
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Generated by JsPbCodeGenerator.
|
|
485
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
486
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
487
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
488
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
489
|
+
* valid.
|
|
490
|
+
* @extends {jspb.Message}
|
|
491
|
+
* @constructor
|
|
492
|
+
*/
|
|
493
|
+
proto.wechaty.puppet.RoomRemarkResponse = function(opt_data) {
|
|
494
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
495
|
+
};
|
|
496
|
+
goog.inherits(proto.wechaty.puppet.RoomRemarkResponse, jspb.Message);
|
|
497
|
+
if (goog.DEBUG && !COMPILED) {
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
* @override
|
|
501
|
+
*/
|
|
502
|
+
proto.wechaty.puppet.RoomRemarkResponse.displayName = 'proto.wechaty.puppet.RoomRemarkResponse';
|
|
503
|
+
}
|
|
460
504
|
|
|
461
505
|
|
|
462
506
|
|
|
@@ -890,7 +934,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
890
934
|
adminIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
891
935
|
memberIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
892
936
|
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
893
|
-
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
937
|
+
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
938
|
+
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
894
939
|
};
|
|
895
940
|
|
|
896
941
|
if (includeInstance) {
|
|
@@ -959,6 +1004,10 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
959
1004
|
var value = /** @type {string} */ (reader.readString());
|
|
960
1005
|
msg.setAdditionalInfo(value);
|
|
961
1006
|
break;
|
|
1007
|
+
case 9:
|
|
1008
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1009
|
+
msg.setRoomRemark(value);
|
|
1010
|
+
break;
|
|
962
1011
|
default:
|
|
963
1012
|
reader.skipField();
|
|
964
1013
|
break;
|
|
@@ -1044,6 +1093,13 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1044
1093
|
f
|
|
1045
1094
|
);
|
|
1046
1095
|
}
|
|
1096
|
+
f = message.getRoomRemark();
|
|
1097
|
+
if (f.length > 0) {
|
|
1098
|
+
writer.writeString(
|
|
1099
|
+
9,
|
|
1100
|
+
f
|
|
1101
|
+
);
|
|
1102
|
+
}
|
|
1047
1103
|
};
|
|
1048
1104
|
|
|
1049
1105
|
|
|
@@ -1229,6 +1285,24 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setAdditionalInfo = function(
|
|
|
1229
1285
|
};
|
|
1230
1286
|
|
|
1231
1287
|
|
|
1288
|
+
/**
|
|
1289
|
+
* optional string room_remark = 9;
|
|
1290
|
+
* @return {string}
|
|
1291
|
+
*/
|
|
1292
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getRoomRemark = function() {
|
|
1293
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1294
|
+
};
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* @param {string} value
|
|
1299
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1300
|
+
*/
|
|
1301
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setRoomRemark = function(value) {
|
|
1302
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
|
|
1232
1306
|
|
|
1233
1307
|
|
|
1234
1308
|
|
|
@@ -3724,4 +3798,265 @@ proto.wechaty.puppet.RoomAnnounceResponse.prototype.setText = function(value) {
|
|
|
3724
3798
|
};
|
|
3725
3799
|
|
|
3726
3800
|
|
|
3801
|
+
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3805
|
+
/**
|
|
3806
|
+
* Creates an object representation of this proto.
|
|
3807
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3808
|
+
* Optional fields that are not set will be set to undefined.
|
|
3809
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3810
|
+
* For the list of reserved names please see:
|
|
3811
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3812
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3813
|
+
* JSPB instance for transitional soy proto support:
|
|
3814
|
+
* http://goto/soy-param-migration
|
|
3815
|
+
* @return {!Object}
|
|
3816
|
+
*/
|
|
3817
|
+
proto.wechaty.puppet.RoomRemarkRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3818
|
+
return proto.wechaty.puppet.RoomRemarkRequest.toObject(opt_includeInstance, this);
|
|
3819
|
+
};
|
|
3820
|
+
|
|
3821
|
+
|
|
3822
|
+
/**
|
|
3823
|
+
* Static version of the {@see toObject} method.
|
|
3824
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3825
|
+
* the JSPB instance for transitional soy proto support:
|
|
3826
|
+
* http://goto/soy-param-migration
|
|
3827
|
+
* @param {!proto.wechaty.puppet.RoomRemarkRequest} msg The msg instance to transform.
|
|
3828
|
+
* @return {!Object}
|
|
3829
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3830
|
+
*/
|
|
3831
|
+
proto.wechaty.puppet.RoomRemarkRequest.toObject = function(includeInstance, msg) {
|
|
3832
|
+
var f, obj = {
|
|
3833
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3834
|
+
remark: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3835
|
+
};
|
|
3836
|
+
|
|
3837
|
+
if (includeInstance) {
|
|
3838
|
+
obj.$jspbMessageInstance = msg;
|
|
3839
|
+
}
|
|
3840
|
+
return obj;
|
|
3841
|
+
};
|
|
3842
|
+
}
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
/**
|
|
3846
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3847
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3848
|
+
* @return {!proto.wechaty.puppet.RoomRemarkRequest}
|
|
3849
|
+
*/
|
|
3850
|
+
proto.wechaty.puppet.RoomRemarkRequest.deserializeBinary = function(bytes) {
|
|
3851
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3852
|
+
var msg = new proto.wechaty.puppet.RoomRemarkRequest;
|
|
3853
|
+
return proto.wechaty.puppet.RoomRemarkRequest.deserializeBinaryFromReader(msg, reader);
|
|
3854
|
+
};
|
|
3855
|
+
|
|
3856
|
+
|
|
3857
|
+
/**
|
|
3858
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3859
|
+
* given reader into the given message object.
|
|
3860
|
+
* @param {!proto.wechaty.puppet.RoomRemarkRequest} msg The message object to deserialize into.
|
|
3861
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3862
|
+
* @return {!proto.wechaty.puppet.RoomRemarkRequest}
|
|
3863
|
+
*/
|
|
3864
|
+
proto.wechaty.puppet.RoomRemarkRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3865
|
+
while (reader.nextField()) {
|
|
3866
|
+
if (reader.isEndGroup()) {
|
|
3867
|
+
break;
|
|
3868
|
+
}
|
|
3869
|
+
var field = reader.getFieldNumber();
|
|
3870
|
+
switch (field) {
|
|
3871
|
+
case 1:
|
|
3872
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3873
|
+
msg.setId(value);
|
|
3874
|
+
break;
|
|
3875
|
+
case 2:
|
|
3876
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3877
|
+
msg.setRemark(value);
|
|
3878
|
+
break;
|
|
3879
|
+
default:
|
|
3880
|
+
reader.skipField();
|
|
3881
|
+
break;
|
|
3882
|
+
}
|
|
3883
|
+
}
|
|
3884
|
+
return msg;
|
|
3885
|
+
};
|
|
3886
|
+
|
|
3887
|
+
|
|
3888
|
+
/**
|
|
3889
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3890
|
+
* @return {!Uint8Array}
|
|
3891
|
+
*/
|
|
3892
|
+
proto.wechaty.puppet.RoomRemarkRequest.prototype.serializeBinary = function() {
|
|
3893
|
+
var writer = new jspb.BinaryWriter();
|
|
3894
|
+
proto.wechaty.puppet.RoomRemarkRequest.serializeBinaryToWriter(this, writer);
|
|
3895
|
+
return writer.getResultBuffer();
|
|
3896
|
+
};
|
|
3897
|
+
|
|
3898
|
+
|
|
3899
|
+
/**
|
|
3900
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3901
|
+
* format), writing to the given BinaryWriter.
|
|
3902
|
+
* @param {!proto.wechaty.puppet.RoomRemarkRequest} message
|
|
3903
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3904
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3905
|
+
*/
|
|
3906
|
+
proto.wechaty.puppet.RoomRemarkRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3907
|
+
var f = undefined;
|
|
3908
|
+
f = message.getId();
|
|
3909
|
+
if (f.length > 0) {
|
|
3910
|
+
writer.writeString(
|
|
3911
|
+
1,
|
|
3912
|
+
f
|
|
3913
|
+
);
|
|
3914
|
+
}
|
|
3915
|
+
f = message.getRemark();
|
|
3916
|
+
if (f.length > 0) {
|
|
3917
|
+
writer.writeString(
|
|
3918
|
+
2,
|
|
3919
|
+
f
|
|
3920
|
+
);
|
|
3921
|
+
}
|
|
3922
|
+
};
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
/**
|
|
3926
|
+
* optional string id = 1;
|
|
3927
|
+
* @return {string}
|
|
3928
|
+
*/
|
|
3929
|
+
proto.wechaty.puppet.RoomRemarkRequest.prototype.getId = function() {
|
|
3930
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3931
|
+
};
|
|
3932
|
+
|
|
3933
|
+
|
|
3934
|
+
/**
|
|
3935
|
+
* @param {string} value
|
|
3936
|
+
* @return {!proto.wechaty.puppet.RoomRemarkRequest} returns this
|
|
3937
|
+
*/
|
|
3938
|
+
proto.wechaty.puppet.RoomRemarkRequest.prototype.setId = function(value) {
|
|
3939
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3940
|
+
};
|
|
3941
|
+
|
|
3942
|
+
|
|
3943
|
+
/**
|
|
3944
|
+
* optional string remark = 2;
|
|
3945
|
+
* @return {string}
|
|
3946
|
+
*/
|
|
3947
|
+
proto.wechaty.puppet.RoomRemarkRequest.prototype.getRemark = function() {
|
|
3948
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3949
|
+
};
|
|
3950
|
+
|
|
3951
|
+
|
|
3952
|
+
/**
|
|
3953
|
+
* @param {string} value
|
|
3954
|
+
* @return {!proto.wechaty.puppet.RoomRemarkRequest} returns this
|
|
3955
|
+
*/
|
|
3956
|
+
proto.wechaty.puppet.RoomRemarkRequest.prototype.setRemark = function(value) {
|
|
3957
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3958
|
+
};
|
|
3959
|
+
|
|
3960
|
+
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
|
|
3964
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3965
|
+
/**
|
|
3966
|
+
* Creates an object representation of this proto.
|
|
3967
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3968
|
+
* Optional fields that are not set will be set to undefined.
|
|
3969
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3970
|
+
* For the list of reserved names please see:
|
|
3971
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3972
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3973
|
+
* JSPB instance for transitional soy proto support:
|
|
3974
|
+
* http://goto/soy-param-migration
|
|
3975
|
+
* @return {!Object}
|
|
3976
|
+
*/
|
|
3977
|
+
proto.wechaty.puppet.RoomRemarkResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3978
|
+
return proto.wechaty.puppet.RoomRemarkResponse.toObject(opt_includeInstance, this);
|
|
3979
|
+
};
|
|
3980
|
+
|
|
3981
|
+
|
|
3982
|
+
/**
|
|
3983
|
+
* Static version of the {@see toObject} method.
|
|
3984
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3985
|
+
* the JSPB instance for transitional soy proto support:
|
|
3986
|
+
* http://goto/soy-param-migration
|
|
3987
|
+
* @param {!proto.wechaty.puppet.RoomRemarkResponse} msg The msg instance to transform.
|
|
3988
|
+
* @return {!Object}
|
|
3989
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3990
|
+
*/
|
|
3991
|
+
proto.wechaty.puppet.RoomRemarkResponse.toObject = function(includeInstance, msg) {
|
|
3992
|
+
var f, obj = {
|
|
3993
|
+
|
|
3994
|
+
};
|
|
3995
|
+
|
|
3996
|
+
if (includeInstance) {
|
|
3997
|
+
obj.$jspbMessageInstance = msg;
|
|
3998
|
+
}
|
|
3999
|
+
return obj;
|
|
4000
|
+
};
|
|
4001
|
+
}
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
/**
|
|
4005
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4006
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4007
|
+
* @return {!proto.wechaty.puppet.RoomRemarkResponse}
|
|
4008
|
+
*/
|
|
4009
|
+
proto.wechaty.puppet.RoomRemarkResponse.deserializeBinary = function(bytes) {
|
|
4010
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4011
|
+
var msg = new proto.wechaty.puppet.RoomRemarkResponse;
|
|
4012
|
+
return proto.wechaty.puppet.RoomRemarkResponse.deserializeBinaryFromReader(msg, reader);
|
|
4013
|
+
};
|
|
4014
|
+
|
|
4015
|
+
|
|
4016
|
+
/**
|
|
4017
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4018
|
+
* given reader into the given message object.
|
|
4019
|
+
* @param {!proto.wechaty.puppet.RoomRemarkResponse} msg The message object to deserialize into.
|
|
4020
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4021
|
+
* @return {!proto.wechaty.puppet.RoomRemarkResponse}
|
|
4022
|
+
*/
|
|
4023
|
+
proto.wechaty.puppet.RoomRemarkResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4024
|
+
while (reader.nextField()) {
|
|
4025
|
+
if (reader.isEndGroup()) {
|
|
4026
|
+
break;
|
|
4027
|
+
}
|
|
4028
|
+
var field = reader.getFieldNumber();
|
|
4029
|
+
switch (field) {
|
|
4030
|
+
default:
|
|
4031
|
+
reader.skipField();
|
|
4032
|
+
break;
|
|
4033
|
+
}
|
|
4034
|
+
}
|
|
4035
|
+
return msg;
|
|
4036
|
+
};
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
/**
|
|
4040
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4041
|
+
* @return {!Uint8Array}
|
|
4042
|
+
*/
|
|
4043
|
+
proto.wechaty.puppet.RoomRemarkResponse.prototype.serializeBinary = function() {
|
|
4044
|
+
var writer = new jspb.BinaryWriter();
|
|
4045
|
+
proto.wechaty.puppet.RoomRemarkResponse.serializeBinaryToWriter(this, writer);
|
|
4046
|
+
return writer.getResultBuffer();
|
|
4047
|
+
};
|
|
4048
|
+
|
|
4049
|
+
|
|
4050
|
+
/**
|
|
4051
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4052
|
+
* format), writing to the given BinaryWriter.
|
|
4053
|
+
* @param {!proto.wechaty.puppet.RoomRemarkResponse} message
|
|
4054
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4055
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4056
|
+
*/
|
|
4057
|
+
proto.wechaty.puppet.RoomRemarkResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4058
|
+
var f = undefined;
|
|
4059
|
+
};
|
|
4060
|
+
|
|
4061
|
+
|
|
3727
4062
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -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.
|
|
12
|
+
version: 1.0.42
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -423,6 +423,11 @@ paths:
|
|
|
423
423
|
additionalInfo:
|
|
424
424
|
type: string
|
|
425
425
|
title: 额外信息,是由JS对象stringify得到的字符串,目前支持的内容包含addContactTime、corpId等。
|
|
426
|
+
tagIds:
|
|
427
|
+
type: array
|
|
428
|
+
items:
|
|
429
|
+
type: string
|
|
430
|
+
title: 标签(的id)
|
|
426
431
|
tags:
|
|
427
432
|
- Puppet
|
|
428
433
|
'/conversation/{conversationId}/read':
|
|
@@ -1695,6 +1700,29 @@ paths:
|
|
|
1695
1700
|
type: string
|
|
1696
1701
|
tags:
|
|
1697
1702
|
- Puppet
|
|
1703
|
+
'/rooms/{id}/remark':
|
|
1704
|
+
put:
|
|
1705
|
+
operationId: Puppet_RoomRemark
|
|
1706
|
+
responses:
|
|
1707
|
+
'200':
|
|
1708
|
+
description: A successful response.
|
|
1709
|
+
schema:
|
|
1710
|
+
$ref: '#/definitions/puppetRoomRemarkResponse'
|
|
1711
|
+
default:
|
|
1712
|
+
description: An unexpected error response.
|
|
1713
|
+
schema:
|
|
1714
|
+
$ref: '#/definitions/rpcStatus'
|
|
1715
|
+
parameters:
|
|
1716
|
+
- name: id
|
|
1717
|
+
in: path
|
|
1718
|
+
required: true
|
|
1719
|
+
type: string
|
|
1720
|
+
- name: remark
|
|
1721
|
+
in: query
|
|
1722
|
+
required: false
|
|
1723
|
+
type: string
|
|
1724
|
+
tags:
|
|
1725
|
+
- Puppet
|
|
1698
1726
|
'/rooms/{id}/topic':
|
|
1699
1727
|
get:
|
|
1700
1728
|
operationId: Puppet_RoomTopic
|
|
@@ -3299,6 +3327,8 @@ definitions:
|
|
|
3299
3327
|
title: IM内部id,企微中为群的chat_id
|
|
3300
3328
|
additionalInfo:
|
|
3301
3329
|
type: string
|
|
3330
|
+
roomRemark:
|
|
3331
|
+
type: string
|
|
3302
3332
|
puppetRoomQRCodeResponse:
|
|
3303
3333
|
type: object
|
|
3304
3334
|
properties:
|
|
@@ -3306,6 +3336,8 @@ definitions:
|
|
|
3306
3336
|
type: string
|
|
3307
3337
|
puppetRoomQuitResponse:
|
|
3308
3338
|
type: object
|
|
3339
|
+
puppetRoomRemarkResponse:
|
|
3340
|
+
type: object
|
|
3309
3341
|
puppetRoomTopicResponse:
|
|
3310
3342
|
type: object
|
|
3311
3343
|
properties:
|
|
@@ -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.
|
|
6
|
+
"version": "1.0.42",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -619,6 +619,13 @@
|
|
|
619
619
|
"additionalInfo": {
|
|
620
620
|
"type": "string",
|
|
621
621
|
"title": "额外信息,是由JS对象stringify得到的字符串,目前支持的内容包含addContactTime、corpId等。"
|
|
622
|
+
},
|
|
623
|
+
"tagIds": {
|
|
624
|
+
"type": "array",
|
|
625
|
+
"items": {
|
|
626
|
+
"type": "string"
|
|
627
|
+
},
|
|
628
|
+
"title": "标签(的id)"
|
|
622
629
|
}
|
|
623
630
|
}
|
|
624
631
|
}
|
|
@@ -2516,6 +2523,42 @@
|
|
|
2516
2523
|
]
|
|
2517
2524
|
}
|
|
2518
2525
|
},
|
|
2526
|
+
"/rooms/{id}/remark": {
|
|
2527
|
+
"put": {
|
|
2528
|
+
"operationId": "Puppet_RoomRemark",
|
|
2529
|
+
"responses": {
|
|
2530
|
+
"200": {
|
|
2531
|
+
"description": "A successful response.",
|
|
2532
|
+
"schema": {
|
|
2533
|
+
"$ref": "#/definitions/puppetRoomRemarkResponse"
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
"default": {
|
|
2537
|
+
"description": "An unexpected error response.",
|
|
2538
|
+
"schema": {
|
|
2539
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
"parameters": [
|
|
2544
|
+
{
|
|
2545
|
+
"name": "id",
|
|
2546
|
+
"in": "path",
|
|
2547
|
+
"required": true,
|
|
2548
|
+
"type": "string"
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"name": "remark",
|
|
2552
|
+
"in": "query",
|
|
2553
|
+
"required": false,
|
|
2554
|
+
"type": "string"
|
|
2555
|
+
}
|
|
2556
|
+
],
|
|
2557
|
+
"tags": [
|
|
2558
|
+
"Puppet"
|
|
2559
|
+
]
|
|
2560
|
+
}
|
|
2561
|
+
},
|
|
2519
2562
|
"/rooms/{id}/topic": {
|
|
2520
2563
|
"get": {
|
|
2521
2564
|
"operationId": "Puppet_RoomTopic",
|
|
@@ -4635,6 +4678,9 @@
|
|
|
4635
4678
|
},
|
|
4636
4679
|
"additionalInfo": {
|
|
4637
4680
|
"type": "string"
|
|
4681
|
+
},
|
|
4682
|
+
"roomRemark": {
|
|
4683
|
+
"type": "string"
|
|
4638
4684
|
}
|
|
4639
4685
|
}
|
|
4640
4686
|
},
|
|
@@ -4649,6 +4695,9 @@
|
|
|
4649
4695
|
"puppetRoomQuitResponse": {
|
|
4650
4696
|
"type": "object"
|
|
4651
4697
|
},
|
|
4698
|
+
"puppetRoomRemarkResponse": {
|
|
4699
|
+
"type": "object"
|
|
4700
|
+
},
|
|
4652
4701
|
"puppetRoomTopicResponse": {
|
|
4653
4702
|
"type": "object",
|
|
4654
4703
|
"properties": {
|
|
@@ -80,6 +80,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
80
80
|
roomDel: IPuppetService_IRoomDel;
|
|
81
81
|
roomQuit: IPuppetService_IRoomQuit;
|
|
82
82
|
roomTopic: IPuppetService_IRoomTopic;
|
|
83
|
+
roomRemark: IPuppetService_IRoomRemark;
|
|
83
84
|
roomQRCode: IPuppetService_IRoomQRCode;
|
|
84
85
|
roomAnnounce: IPuppetService_IRoomAnnounce;
|
|
85
86
|
roomMemberPayload: IPuppetService_IRoomMemberPayload;
|
|
@@ -614,6 +615,15 @@ interface IPuppetService_IRoomTopic extends grpc.MethodDefinition<wechaty_puppet
|
|
|
614
615
|
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomTopicResponse>;
|
|
615
616
|
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomTopicResponse>;
|
|
616
617
|
}
|
|
618
|
+
interface IPuppetService_IRoomRemark extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomRemarkRequest, wechaty_puppet_room_pb.RoomRemarkResponse> {
|
|
619
|
+
path: "/wechaty.Puppet/RoomRemark";
|
|
620
|
+
requestStream: false;
|
|
621
|
+
responseStream: false;
|
|
622
|
+
requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomRemarkRequest>;
|
|
623
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomRemarkRequest>;
|
|
624
|
+
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomRemarkResponse>;
|
|
625
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomRemarkResponse>;
|
|
626
|
+
}
|
|
617
627
|
interface IPuppetService_IRoomQRCode extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomQRCodeRequest, wechaty_puppet_room_pb.RoomQRCodeResponse> {
|
|
618
628
|
path: "/wechaty.Puppet/RoomQRCode";
|
|
619
629
|
requestStream: false;
|
|
@@ -926,6 +936,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
926
936
|
roomDel: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomDelRequest, wechaty_puppet_room_pb.RoomDelResponse>;
|
|
927
937
|
roomQuit: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomQuitRequest, wechaty_puppet_room_pb.RoomQuitResponse>;
|
|
928
938
|
roomTopic: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomTopicRequest, wechaty_puppet_room_pb.RoomTopicResponse>;
|
|
939
|
+
roomRemark: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomRemarkRequest, wechaty_puppet_room_pb.RoomRemarkResponse>;
|
|
929
940
|
roomQRCode: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomQRCodeRequest, wechaty_puppet_room_pb.RoomQRCodeResponse>;
|
|
930
941
|
roomAnnounce: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAnnounceRequest, wechaty_puppet_room_pb.RoomAnnounceResponse>;
|
|
931
942
|
roomMemberPayload: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, wechaty_puppet_room_member_pb.RoomMemberPayloadResponse>;
|
|
@@ -1123,6 +1134,9 @@ export interface IPuppetClient {
|
|
|
1123
1134
|
roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
|
|
1124
1135
|
roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
|
|
1125
1136
|
roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
|
|
1137
|
+
roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
|
|
1138
|
+
roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
|
|
1139
|
+
roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
|
|
1126
1140
|
roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
|
|
1127
1141
|
roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
|
|
1128
1142
|
roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1377,6 +1391,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1377
1391
|
public roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
|
|
1378
1392
|
public roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
|
|
1379
1393
|
public roomTopic(request: wechaty_puppet_room_pb.RoomTopicRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomTopicResponse) => void): grpc.ClientUnaryCall;
|
|
1394
|
+
public roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
|
|
1395
|
+
public roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
|
|
1396
|
+
public roomRemark(request: wechaty_puppet_room_pb.RoomRemarkRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomRemarkResponse) => void): grpc.ClientUnaryCall;
|
|
1380
1397
|
public roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
|
|
1381
1398
|
public roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
|
|
1382
1399
|
public roomQRCode(request: wechaty_puppet_room_pb.RoomQRCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomQRCodeResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1462,6 +1462,28 @@ function deserialize_wechaty_puppet_RoomQuitResponse(buffer_arg) {
|
|
|
1462
1462
|
return wechaty_puppet_room_pb.RoomQuitResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1463
1463
|
}
|
|
1464
1464
|
|
|
1465
|
+
function serialize_wechaty_puppet_RoomRemarkRequest(arg) {
|
|
1466
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomRemarkRequest)) {
|
|
1467
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomRemarkRequest');
|
|
1468
|
+
}
|
|
1469
|
+
return Buffer.from(arg.serializeBinary());
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
function deserialize_wechaty_puppet_RoomRemarkRequest(buffer_arg) {
|
|
1473
|
+
return wechaty_puppet_room_pb.RoomRemarkRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
function serialize_wechaty_puppet_RoomRemarkResponse(arg) {
|
|
1477
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomRemarkResponse)) {
|
|
1478
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomRemarkResponse');
|
|
1479
|
+
}
|
|
1480
|
+
return Buffer.from(arg.serializeBinary());
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
function deserialize_wechaty_puppet_RoomRemarkResponse(buffer_arg) {
|
|
1484
|
+
return wechaty_puppet_room_pb.RoomRemarkResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1465
1487
|
function serialize_wechaty_puppet_RoomTopicRequest(arg) {
|
|
1466
1488
|
if (!(arg instanceof wechaty_puppet_room_pb.RoomTopicRequest)) {
|
|
1467
1489
|
throw new Error('Expected argument of type wechaty.puppet.RoomTopicRequest');
|
|
@@ -2516,6 +2538,17 @@ roomPayload: {
|
|
|
2516
2538
|
responseSerialize: serialize_wechaty_puppet_RoomTopicResponse,
|
|
2517
2539
|
responseDeserialize: deserialize_wechaty_puppet_RoomTopicResponse,
|
|
2518
2540
|
},
|
|
2541
|
+
roomRemark: {
|
|
2542
|
+
path: '/wechaty.Puppet/RoomRemark',
|
|
2543
|
+
requestStream: false,
|
|
2544
|
+
responseStream: false,
|
|
2545
|
+
requestType: wechaty_puppet_room_pb.RoomRemarkRequest,
|
|
2546
|
+
responseType: wechaty_puppet_room_pb.RoomRemarkResponse,
|
|
2547
|
+
requestSerialize: serialize_wechaty_puppet_RoomRemarkRequest,
|
|
2548
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomRemarkRequest,
|
|
2549
|
+
responseSerialize: serialize_wechaty_puppet_RoomRemarkResponse,
|
|
2550
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomRemarkResponse,
|
|
2551
|
+
},
|
|
2519
2552
|
roomQRCode: {
|
|
2520
2553
|
path: '/wechaty.Puppet/RoomQRCode',
|
|
2521
2554
|
requestStream: false,
|
|
@@ -522,6 +522,15 @@ type PuppetRoomTopic = {
|
|
|
522
522
|
readonly responseType: typeof wechaty_puppet_room_pb.RoomTopicResponse;
|
|
523
523
|
};
|
|
524
524
|
|
|
525
|
+
type PuppetRoomRemark = {
|
|
526
|
+
readonly methodName: string;
|
|
527
|
+
readonly service: typeof Puppet;
|
|
528
|
+
readonly requestStream: false;
|
|
529
|
+
readonly responseStream: false;
|
|
530
|
+
readonly requestType: typeof wechaty_puppet_room_pb.RoomRemarkRequest;
|
|
531
|
+
readonly responseType: typeof wechaty_puppet_room_pb.RoomRemarkResponse;
|
|
532
|
+
};
|
|
533
|
+
|
|
525
534
|
type PuppetRoomQRCode = {
|
|
526
535
|
readonly methodName: string;
|
|
527
536
|
readonly service: typeof Puppet;
|
|
@@ -832,6 +841,7 @@ export class Puppet {
|
|
|
832
841
|
static readonly RoomDel: PuppetRoomDel;
|
|
833
842
|
static readonly RoomQuit: PuppetRoomQuit;
|
|
834
843
|
static readonly RoomTopic: PuppetRoomTopic;
|
|
844
|
+
static readonly RoomRemark: PuppetRoomRemark;
|
|
835
845
|
static readonly RoomQRCode: PuppetRoomQRCode;
|
|
836
846
|
static readonly RoomAnnounce: PuppetRoomAnnounce;
|
|
837
847
|
static readonly RoomMemberPayload: PuppetRoomMemberPayload;
|
|
@@ -1366,6 +1376,15 @@ export class PuppetClient {
|
|
|
1366
1376
|
requestMessage: wechaty_puppet_room_pb.RoomTopicRequest,
|
|
1367
1377
|
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_room_pb.RoomTopicResponse|null) => void
|
|
1368
1378
|
): UnaryResponse;
|
|
1379
|
+
roomRemark(
|
|
1380
|
+
requestMessage: wechaty_puppet_room_pb.RoomRemarkRequest,
|
|
1381
|
+
metadata: grpc.Metadata,
|
|
1382
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_room_pb.RoomRemarkResponse|null) => void
|
|
1383
|
+
): UnaryResponse;
|
|
1384
|
+
roomRemark(
|
|
1385
|
+
requestMessage: wechaty_puppet_room_pb.RoomRemarkRequest,
|
|
1386
|
+
callback: (error: ServiceError|null, responseMessage: wechaty_puppet_room_pb.RoomRemarkResponse|null) => void
|
|
1387
|
+
): UnaryResponse;
|
|
1369
1388
|
roomQRCode(
|
|
1370
1389
|
requestMessage: wechaty_puppet_room_pb.RoomQRCodeRequest,
|
|
1371
1390
|
metadata: grpc.Metadata,
|