@juzi/wechaty-grpc 1.0.53 → 1.0.55
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/examples/promisify.d.ts +5 -5
- package/dist/cjs/examples/promisify.d.ts.map +1 -1
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +12 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +91 -2
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +100 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +759 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +81 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +123 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +5 -1
- package/dist/cjs/proto/wechaty/puppet/room.proto +20 -0
- package/dist/cjs/proto/wechaty/puppet.proto +12 -0
- package/dist/cjs/src/chunk-transformer.d.ts +1 -1
- package/dist/cjs/src/chunk-transformer.d.ts.map +1 -1
- package/dist/cjs/src/config.d.ts +1 -1
- package/dist/cjs/src/config.d.ts.map +1 -1
- package/dist/cjs/src/package-json.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +5 -4
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +10 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/examples/promisify.d.ts +5 -5
- package/dist/esm/examples/promisify.d.ts.map +1 -1
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +12 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +91 -2
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +100 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +759 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +81 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +123 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +5 -1
- package/dist/esm/proto/wechaty/puppet/room.proto +20 -0
- package/dist/esm/proto/wechaty/puppet.proto +12 -0
- package/dist/esm/src/chunk-transformer.d.ts +1 -1
- package/dist/esm/src/chunk-transformer.d.ts.map +1 -1
- package/dist/esm/src/config.d.ts +1 -1
- package/dist/esm/src/config.d.ts.map +1 -1
- package/dist/esm/src/package-json.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +5 -4
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +10 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/event_pb.d.ts +12 -0
- package/out/wechaty/puppet/event_pb.js +91 -2
- package/out/wechaty/puppet/room_pb.d.ts +100 -0
- package/out/wechaty/puppet/room_pb.js +759 -0
- package/out/wechaty/puppet.openapi.yaml +81 -1
- package/out/wechaty/puppet.swagger.json +123 -1
- package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/out/wechaty/puppet_grpc_pb.js +66 -0
- package/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/out/wechaty/puppet_pb_service.js +80 -0
- package/package.json +5 -4
- package/src/package-json.ts +5 -4
|
@@ -29,8 +29,12 @@ goog.exportSymbol('proto.wechaty.puppet.RoomDelRequest', null, global);
|
|
|
29
29
|
goog.exportSymbol('proto.wechaty.puppet.RoomDelResponse', null, global);
|
|
30
30
|
goog.exportSymbol('proto.wechaty.puppet.RoomListRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.wechaty.puppet.RoomListResponse', null, global);
|
|
32
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomOwnerTransferRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomOwnerTransferResponse', null, global);
|
|
32
34
|
goog.exportSymbol('proto.wechaty.puppet.RoomPayloadRequest', null, global);
|
|
33
35
|
goog.exportSymbol('proto.wechaty.puppet.RoomPayloadResponse', null, global);
|
|
36
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomPermissionRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomPermissionResponse', null, global);
|
|
34
38
|
goog.exportSymbol('proto.wechaty.puppet.RoomQRCodeRequest', null, global);
|
|
35
39
|
goog.exportSymbol('proto.wechaty.puppet.RoomQRCodeResponse', null, global);
|
|
36
40
|
goog.exportSymbol('proto.wechaty.puppet.RoomQuitRequest', null, global);
|
|
@@ -501,6 +505,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
501
505
|
*/
|
|
502
506
|
proto.wechaty.puppet.RoomRemarkResponse.displayName = 'proto.wechaty.puppet.RoomRemarkResponse';
|
|
503
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* Generated by JsPbCodeGenerator.
|
|
510
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
511
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
512
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
513
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
514
|
+
* valid.
|
|
515
|
+
* @extends {jspb.Message}
|
|
516
|
+
* @constructor
|
|
517
|
+
*/
|
|
518
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest = function(opt_data) {
|
|
519
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
520
|
+
};
|
|
521
|
+
goog.inherits(proto.wechaty.puppet.RoomOwnerTransferRequest, jspb.Message);
|
|
522
|
+
if (goog.DEBUG && !COMPILED) {
|
|
523
|
+
/**
|
|
524
|
+
* @public
|
|
525
|
+
* @override
|
|
526
|
+
*/
|
|
527
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.displayName = 'proto.wechaty.puppet.RoomOwnerTransferRequest';
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Generated by JsPbCodeGenerator.
|
|
531
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
532
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
533
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
534
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
535
|
+
* valid.
|
|
536
|
+
* @extends {jspb.Message}
|
|
537
|
+
* @constructor
|
|
538
|
+
*/
|
|
539
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse = function(opt_data) {
|
|
540
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
541
|
+
};
|
|
542
|
+
goog.inherits(proto.wechaty.puppet.RoomOwnerTransferResponse, jspb.Message);
|
|
543
|
+
if (goog.DEBUG && !COMPILED) {
|
|
544
|
+
/**
|
|
545
|
+
* @public
|
|
546
|
+
* @override
|
|
547
|
+
*/
|
|
548
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.displayName = 'proto.wechaty.puppet.RoomOwnerTransferResponse';
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Generated by JsPbCodeGenerator.
|
|
552
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
553
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
554
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
555
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
556
|
+
* valid.
|
|
557
|
+
* @extends {jspb.Message}
|
|
558
|
+
* @constructor
|
|
559
|
+
*/
|
|
560
|
+
proto.wechaty.puppet.RoomPermissionRequest = function(opt_data) {
|
|
561
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
562
|
+
};
|
|
563
|
+
goog.inherits(proto.wechaty.puppet.RoomPermissionRequest, jspb.Message);
|
|
564
|
+
if (goog.DEBUG && !COMPILED) {
|
|
565
|
+
/**
|
|
566
|
+
* @public
|
|
567
|
+
* @override
|
|
568
|
+
*/
|
|
569
|
+
proto.wechaty.puppet.RoomPermissionRequest.displayName = 'proto.wechaty.puppet.RoomPermissionRequest';
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Generated by JsPbCodeGenerator.
|
|
573
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
574
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
575
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
576
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
577
|
+
* valid.
|
|
578
|
+
* @extends {jspb.Message}
|
|
579
|
+
* @constructor
|
|
580
|
+
*/
|
|
581
|
+
proto.wechaty.puppet.RoomPermissionResponse = function(opt_data) {
|
|
582
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
583
|
+
};
|
|
584
|
+
goog.inherits(proto.wechaty.puppet.RoomPermissionResponse, jspb.Message);
|
|
585
|
+
if (goog.DEBUG && !COMPILED) {
|
|
586
|
+
/**
|
|
587
|
+
* @public
|
|
588
|
+
* @override
|
|
589
|
+
*/
|
|
590
|
+
proto.wechaty.puppet.RoomPermissionResponse.displayName = 'proto.wechaty.puppet.RoomPermissionResponse';
|
|
591
|
+
}
|
|
504
592
|
|
|
505
593
|
|
|
506
594
|
|
|
@@ -4059,4 +4147,675 @@ proto.wechaty.puppet.RoomRemarkResponse.serializeBinaryToWriter = function(messa
|
|
|
4059
4147
|
};
|
|
4060
4148
|
|
|
4061
4149
|
|
|
4150
|
+
|
|
4151
|
+
|
|
4152
|
+
|
|
4153
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4154
|
+
/**
|
|
4155
|
+
* Creates an object representation of this proto.
|
|
4156
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4157
|
+
* Optional fields that are not set will be set to undefined.
|
|
4158
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4159
|
+
* For the list of reserved names please see:
|
|
4160
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4161
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4162
|
+
* JSPB instance for transitional soy proto support:
|
|
4163
|
+
* http://goto/soy-param-migration
|
|
4164
|
+
* @return {!Object}
|
|
4165
|
+
*/
|
|
4166
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4167
|
+
return proto.wechaty.puppet.RoomOwnerTransferRequest.toObject(opt_includeInstance, this);
|
|
4168
|
+
};
|
|
4169
|
+
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* Static version of the {@see toObject} method.
|
|
4173
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4174
|
+
* the JSPB instance for transitional soy proto support:
|
|
4175
|
+
* http://goto/soy-param-migration
|
|
4176
|
+
* @param {!proto.wechaty.puppet.RoomOwnerTransferRequest} msg The msg instance to transform.
|
|
4177
|
+
* @return {!Object}
|
|
4178
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4179
|
+
*/
|
|
4180
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.toObject = function(includeInstance, msg) {
|
|
4181
|
+
var f, obj = {
|
|
4182
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4183
|
+
contactId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4184
|
+
};
|
|
4185
|
+
|
|
4186
|
+
if (includeInstance) {
|
|
4187
|
+
obj.$jspbMessageInstance = msg;
|
|
4188
|
+
}
|
|
4189
|
+
return obj;
|
|
4190
|
+
};
|
|
4191
|
+
}
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4196
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4197
|
+
* @return {!proto.wechaty.puppet.RoomOwnerTransferRequest}
|
|
4198
|
+
*/
|
|
4199
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.deserializeBinary = function(bytes) {
|
|
4200
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4201
|
+
var msg = new proto.wechaty.puppet.RoomOwnerTransferRequest;
|
|
4202
|
+
return proto.wechaty.puppet.RoomOwnerTransferRequest.deserializeBinaryFromReader(msg, reader);
|
|
4203
|
+
};
|
|
4204
|
+
|
|
4205
|
+
|
|
4206
|
+
/**
|
|
4207
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4208
|
+
* given reader into the given message object.
|
|
4209
|
+
* @param {!proto.wechaty.puppet.RoomOwnerTransferRequest} msg The message object to deserialize into.
|
|
4210
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4211
|
+
* @return {!proto.wechaty.puppet.RoomOwnerTransferRequest}
|
|
4212
|
+
*/
|
|
4213
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4214
|
+
while (reader.nextField()) {
|
|
4215
|
+
if (reader.isEndGroup()) {
|
|
4216
|
+
break;
|
|
4217
|
+
}
|
|
4218
|
+
var field = reader.getFieldNumber();
|
|
4219
|
+
switch (field) {
|
|
4220
|
+
case 1:
|
|
4221
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4222
|
+
msg.setId(value);
|
|
4223
|
+
break;
|
|
4224
|
+
case 2:
|
|
4225
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4226
|
+
msg.setContactId(value);
|
|
4227
|
+
break;
|
|
4228
|
+
default:
|
|
4229
|
+
reader.skipField();
|
|
4230
|
+
break;
|
|
4231
|
+
}
|
|
4232
|
+
}
|
|
4233
|
+
return msg;
|
|
4234
|
+
};
|
|
4235
|
+
|
|
4236
|
+
|
|
4237
|
+
/**
|
|
4238
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4239
|
+
* @return {!Uint8Array}
|
|
4240
|
+
*/
|
|
4241
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.prototype.serializeBinary = function() {
|
|
4242
|
+
var writer = new jspb.BinaryWriter();
|
|
4243
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.serializeBinaryToWriter(this, writer);
|
|
4244
|
+
return writer.getResultBuffer();
|
|
4245
|
+
};
|
|
4246
|
+
|
|
4247
|
+
|
|
4248
|
+
/**
|
|
4249
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4250
|
+
* format), writing to the given BinaryWriter.
|
|
4251
|
+
* @param {!proto.wechaty.puppet.RoomOwnerTransferRequest} message
|
|
4252
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4253
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4254
|
+
*/
|
|
4255
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4256
|
+
var f = undefined;
|
|
4257
|
+
f = message.getId();
|
|
4258
|
+
if (f.length > 0) {
|
|
4259
|
+
writer.writeString(
|
|
4260
|
+
1,
|
|
4261
|
+
f
|
|
4262
|
+
);
|
|
4263
|
+
}
|
|
4264
|
+
f = message.getContactId();
|
|
4265
|
+
if (f.length > 0) {
|
|
4266
|
+
writer.writeString(
|
|
4267
|
+
2,
|
|
4268
|
+
f
|
|
4269
|
+
);
|
|
4270
|
+
}
|
|
4271
|
+
};
|
|
4272
|
+
|
|
4273
|
+
|
|
4274
|
+
/**
|
|
4275
|
+
* optional string id = 1;
|
|
4276
|
+
* @return {string}
|
|
4277
|
+
*/
|
|
4278
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.prototype.getId = function() {
|
|
4279
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4280
|
+
};
|
|
4281
|
+
|
|
4282
|
+
|
|
4283
|
+
/**
|
|
4284
|
+
* @param {string} value
|
|
4285
|
+
* @return {!proto.wechaty.puppet.RoomOwnerTransferRequest} returns this
|
|
4286
|
+
*/
|
|
4287
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.prototype.setId = function(value) {
|
|
4288
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4289
|
+
};
|
|
4290
|
+
|
|
4291
|
+
|
|
4292
|
+
/**
|
|
4293
|
+
* optional string contact_id = 2;
|
|
4294
|
+
* @return {string}
|
|
4295
|
+
*/
|
|
4296
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.prototype.getContactId = function() {
|
|
4297
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4298
|
+
};
|
|
4299
|
+
|
|
4300
|
+
|
|
4301
|
+
/**
|
|
4302
|
+
* @param {string} value
|
|
4303
|
+
* @return {!proto.wechaty.puppet.RoomOwnerTransferRequest} returns this
|
|
4304
|
+
*/
|
|
4305
|
+
proto.wechaty.puppet.RoomOwnerTransferRequest.prototype.setContactId = function(value) {
|
|
4306
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4307
|
+
};
|
|
4308
|
+
|
|
4309
|
+
|
|
4310
|
+
|
|
4311
|
+
|
|
4312
|
+
|
|
4313
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4314
|
+
/**
|
|
4315
|
+
* Creates an object representation of this proto.
|
|
4316
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4317
|
+
* Optional fields that are not set will be set to undefined.
|
|
4318
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4319
|
+
* For the list of reserved names please see:
|
|
4320
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4321
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4322
|
+
* JSPB instance for transitional soy proto support:
|
|
4323
|
+
* http://goto/soy-param-migration
|
|
4324
|
+
* @return {!Object}
|
|
4325
|
+
*/
|
|
4326
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4327
|
+
return proto.wechaty.puppet.RoomOwnerTransferResponse.toObject(opt_includeInstance, this);
|
|
4328
|
+
};
|
|
4329
|
+
|
|
4330
|
+
|
|
4331
|
+
/**
|
|
4332
|
+
* Static version of the {@see toObject} method.
|
|
4333
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4334
|
+
* the JSPB instance for transitional soy proto support:
|
|
4335
|
+
* http://goto/soy-param-migration
|
|
4336
|
+
* @param {!proto.wechaty.puppet.RoomOwnerTransferResponse} msg The msg instance to transform.
|
|
4337
|
+
* @return {!Object}
|
|
4338
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4339
|
+
*/
|
|
4340
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.toObject = function(includeInstance, msg) {
|
|
4341
|
+
var f, obj = {
|
|
4342
|
+
|
|
4343
|
+
};
|
|
4344
|
+
|
|
4345
|
+
if (includeInstance) {
|
|
4346
|
+
obj.$jspbMessageInstance = msg;
|
|
4347
|
+
}
|
|
4348
|
+
return obj;
|
|
4349
|
+
};
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
|
|
4353
|
+
/**
|
|
4354
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4355
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4356
|
+
* @return {!proto.wechaty.puppet.RoomOwnerTransferResponse}
|
|
4357
|
+
*/
|
|
4358
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.deserializeBinary = function(bytes) {
|
|
4359
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4360
|
+
var msg = new proto.wechaty.puppet.RoomOwnerTransferResponse;
|
|
4361
|
+
return proto.wechaty.puppet.RoomOwnerTransferResponse.deserializeBinaryFromReader(msg, reader);
|
|
4362
|
+
};
|
|
4363
|
+
|
|
4364
|
+
|
|
4365
|
+
/**
|
|
4366
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4367
|
+
* given reader into the given message object.
|
|
4368
|
+
* @param {!proto.wechaty.puppet.RoomOwnerTransferResponse} msg The message object to deserialize into.
|
|
4369
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4370
|
+
* @return {!proto.wechaty.puppet.RoomOwnerTransferResponse}
|
|
4371
|
+
*/
|
|
4372
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4373
|
+
while (reader.nextField()) {
|
|
4374
|
+
if (reader.isEndGroup()) {
|
|
4375
|
+
break;
|
|
4376
|
+
}
|
|
4377
|
+
var field = reader.getFieldNumber();
|
|
4378
|
+
switch (field) {
|
|
4379
|
+
default:
|
|
4380
|
+
reader.skipField();
|
|
4381
|
+
break;
|
|
4382
|
+
}
|
|
4383
|
+
}
|
|
4384
|
+
return msg;
|
|
4385
|
+
};
|
|
4386
|
+
|
|
4387
|
+
|
|
4388
|
+
/**
|
|
4389
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4390
|
+
* @return {!Uint8Array}
|
|
4391
|
+
*/
|
|
4392
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.prototype.serializeBinary = function() {
|
|
4393
|
+
var writer = new jspb.BinaryWriter();
|
|
4394
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.serializeBinaryToWriter(this, writer);
|
|
4395
|
+
return writer.getResultBuffer();
|
|
4396
|
+
};
|
|
4397
|
+
|
|
4398
|
+
|
|
4399
|
+
/**
|
|
4400
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4401
|
+
* format), writing to the given BinaryWriter.
|
|
4402
|
+
* @param {!proto.wechaty.puppet.RoomOwnerTransferResponse} message
|
|
4403
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4404
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4405
|
+
*/
|
|
4406
|
+
proto.wechaty.puppet.RoomOwnerTransferResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4407
|
+
var f = undefined;
|
|
4408
|
+
};
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
|
|
4412
|
+
|
|
4413
|
+
|
|
4414
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4415
|
+
/**
|
|
4416
|
+
* Creates an object representation of this proto.
|
|
4417
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4418
|
+
* Optional fields that are not set will be set to undefined.
|
|
4419
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4420
|
+
* For the list of reserved names please see:
|
|
4421
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4422
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4423
|
+
* JSPB instance for transitional soy proto support:
|
|
4424
|
+
* http://goto/soy-param-migration
|
|
4425
|
+
* @return {!Object}
|
|
4426
|
+
*/
|
|
4427
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4428
|
+
return proto.wechaty.puppet.RoomPermissionRequest.toObject(opt_includeInstance, this);
|
|
4429
|
+
};
|
|
4430
|
+
|
|
4431
|
+
|
|
4432
|
+
/**
|
|
4433
|
+
* Static version of the {@see toObject} method.
|
|
4434
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4435
|
+
* the JSPB instance for transitional soy proto support:
|
|
4436
|
+
* http://goto/soy-param-migration
|
|
4437
|
+
* @param {!proto.wechaty.puppet.RoomPermissionRequest} msg The msg instance to transform.
|
|
4438
|
+
* @return {!Object}
|
|
4439
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4440
|
+
*/
|
|
4441
|
+
proto.wechaty.puppet.RoomPermissionRequest.toObject = function(includeInstance, msg) {
|
|
4442
|
+
var f, obj = {
|
|
4443
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4444
|
+
sendMessage: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
4445
|
+
invitationCheck: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
4446
|
+
roomTopicEdit: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
4447
|
+
};
|
|
4448
|
+
|
|
4449
|
+
if (includeInstance) {
|
|
4450
|
+
obj.$jspbMessageInstance = msg;
|
|
4451
|
+
}
|
|
4452
|
+
return obj;
|
|
4453
|
+
};
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
|
|
4457
|
+
/**
|
|
4458
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4459
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4460
|
+
* @return {!proto.wechaty.puppet.RoomPermissionRequest}
|
|
4461
|
+
*/
|
|
4462
|
+
proto.wechaty.puppet.RoomPermissionRequest.deserializeBinary = function(bytes) {
|
|
4463
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4464
|
+
var msg = new proto.wechaty.puppet.RoomPermissionRequest;
|
|
4465
|
+
return proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader(msg, reader);
|
|
4466
|
+
};
|
|
4467
|
+
|
|
4468
|
+
|
|
4469
|
+
/**
|
|
4470
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4471
|
+
* given reader into the given message object.
|
|
4472
|
+
* @param {!proto.wechaty.puppet.RoomPermissionRequest} msg The message object to deserialize into.
|
|
4473
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4474
|
+
* @return {!proto.wechaty.puppet.RoomPermissionRequest}
|
|
4475
|
+
*/
|
|
4476
|
+
proto.wechaty.puppet.RoomPermissionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4477
|
+
while (reader.nextField()) {
|
|
4478
|
+
if (reader.isEndGroup()) {
|
|
4479
|
+
break;
|
|
4480
|
+
}
|
|
4481
|
+
var field = reader.getFieldNumber();
|
|
4482
|
+
switch (field) {
|
|
4483
|
+
case 1:
|
|
4484
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4485
|
+
msg.setId(value);
|
|
4486
|
+
break;
|
|
4487
|
+
case 2:
|
|
4488
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4489
|
+
msg.setSendMessage(value);
|
|
4490
|
+
break;
|
|
4491
|
+
case 3:
|
|
4492
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4493
|
+
msg.setInvitationCheck(value);
|
|
4494
|
+
break;
|
|
4495
|
+
case 4:
|
|
4496
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4497
|
+
msg.setRoomTopicEdit(value);
|
|
4498
|
+
break;
|
|
4499
|
+
default:
|
|
4500
|
+
reader.skipField();
|
|
4501
|
+
break;
|
|
4502
|
+
}
|
|
4503
|
+
}
|
|
4504
|
+
return msg;
|
|
4505
|
+
};
|
|
4506
|
+
|
|
4507
|
+
|
|
4508
|
+
/**
|
|
4509
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4510
|
+
* @return {!Uint8Array}
|
|
4511
|
+
*/
|
|
4512
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.serializeBinary = function() {
|
|
4513
|
+
var writer = new jspb.BinaryWriter();
|
|
4514
|
+
proto.wechaty.puppet.RoomPermissionRequest.serializeBinaryToWriter(this, writer);
|
|
4515
|
+
return writer.getResultBuffer();
|
|
4516
|
+
};
|
|
4517
|
+
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4521
|
+
* format), writing to the given BinaryWriter.
|
|
4522
|
+
* @param {!proto.wechaty.puppet.RoomPermissionRequest} message
|
|
4523
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4524
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4525
|
+
*/
|
|
4526
|
+
proto.wechaty.puppet.RoomPermissionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4527
|
+
var f = undefined;
|
|
4528
|
+
f = message.getId();
|
|
4529
|
+
if (f.length > 0) {
|
|
4530
|
+
writer.writeString(
|
|
4531
|
+
1,
|
|
4532
|
+
f
|
|
4533
|
+
);
|
|
4534
|
+
}
|
|
4535
|
+
f = message.getSendMessage();
|
|
4536
|
+
if (f) {
|
|
4537
|
+
writer.writeBool(
|
|
4538
|
+
2,
|
|
4539
|
+
f
|
|
4540
|
+
);
|
|
4541
|
+
}
|
|
4542
|
+
f = message.getInvitationCheck();
|
|
4543
|
+
if (f) {
|
|
4544
|
+
writer.writeBool(
|
|
4545
|
+
3,
|
|
4546
|
+
f
|
|
4547
|
+
);
|
|
4548
|
+
}
|
|
4549
|
+
f = message.getRoomTopicEdit();
|
|
4550
|
+
if (f) {
|
|
4551
|
+
writer.writeBool(
|
|
4552
|
+
4,
|
|
4553
|
+
f
|
|
4554
|
+
);
|
|
4555
|
+
}
|
|
4556
|
+
};
|
|
4557
|
+
|
|
4558
|
+
|
|
4559
|
+
/**
|
|
4560
|
+
* optional string id = 1;
|
|
4561
|
+
* @return {string}
|
|
4562
|
+
*/
|
|
4563
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.getId = function() {
|
|
4564
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4565
|
+
};
|
|
4566
|
+
|
|
4567
|
+
|
|
4568
|
+
/**
|
|
4569
|
+
* @param {string} value
|
|
4570
|
+
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4571
|
+
*/
|
|
4572
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.setId = function(value) {
|
|
4573
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4574
|
+
};
|
|
4575
|
+
|
|
4576
|
+
|
|
4577
|
+
/**
|
|
4578
|
+
* optional bool send_message = 2;
|
|
4579
|
+
* @return {boolean}
|
|
4580
|
+
*/
|
|
4581
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.getSendMessage = function() {
|
|
4582
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
4583
|
+
};
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* @param {boolean} value
|
|
4588
|
+
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4589
|
+
*/
|
|
4590
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.setSendMessage = function(value) {
|
|
4591
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
4592
|
+
};
|
|
4593
|
+
|
|
4594
|
+
|
|
4595
|
+
/**
|
|
4596
|
+
* optional bool invitation_check = 3;
|
|
4597
|
+
* @return {boolean}
|
|
4598
|
+
*/
|
|
4599
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.getInvitationCheck = function() {
|
|
4600
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
4601
|
+
};
|
|
4602
|
+
|
|
4603
|
+
|
|
4604
|
+
/**
|
|
4605
|
+
* @param {boolean} value
|
|
4606
|
+
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4607
|
+
*/
|
|
4608
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.setInvitationCheck = function(value) {
|
|
4609
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
4610
|
+
};
|
|
4611
|
+
|
|
4612
|
+
|
|
4613
|
+
/**
|
|
4614
|
+
* optional bool room_topic_edit = 4;
|
|
4615
|
+
* @return {boolean}
|
|
4616
|
+
*/
|
|
4617
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.getRoomTopicEdit = function() {
|
|
4618
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
4619
|
+
};
|
|
4620
|
+
|
|
4621
|
+
|
|
4622
|
+
/**
|
|
4623
|
+
* @param {boolean} value
|
|
4624
|
+
* @return {!proto.wechaty.puppet.RoomPermissionRequest} returns this
|
|
4625
|
+
*/
|
|
4626
|
+
proto.wechaty.puppet.RoomPermissionRequest.prototype.setRoomTopicEdit = function(value) {
|
|
4627
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
4628
|
+
};
|
|
4629
|
+
|
|
4630
|
+
|
|
4631
|
+
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4635
|
+
/**
|
|
4636
|
+
* Creates an object representation of this proto.
|
|
4637
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4638
|
+
* Optional fields that are not set will be set to undefined.
|
|
4639
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4640
|
+
* For the list of reserved names please see:
|
|
4641
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4642
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4643
|
+
* JSPB instance for transitional soy proto support:
|
|
4644
|
+
* http://goto/soy-param-migration
|
|
4645
|
+
* @return {!Object}
|
|
4646
|
+
*/
|
|
4647
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4648
|
+
return proto.wechaty.puppet.RoomPermissionResponse.toObject(opt_includeInstance, this);
|
|
4649
|
+
};
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
/**
|
|
4653
|
+
* Static version of the {@see toObject} method.
|
|
4654
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4655
|
+
* the JSPB instance for transitional soy proto support:
|
|
4656
|
+
* http://goto/soy-param-migration
|
|
4657
|
+
* @param {!proto.wechaty.puppet.RoomPermissionResponse} msg The msg instance to transform.
|
|
4658
|
+
* @return {!Object}
|
|
4659
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4660
|
+
*/
|
|
4661
|
+
proto.wechaty.puppet.RoomPermissionResponse.toObject = function(includeInstance, msg) {
|
|
4662
|
+
var f, obj = {
|
|
4663
|
+
sendMessage: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
4664
|
+
invitationCheck: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
4665
|
+
roomTopicEdit: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
4666
|
+
};
|
|
4667
|
+
|
|
4668
|
+
if (includeInstance) {
|
|
4669
|
+
obj.$jspbMessageInstance = msg;
|
|
4670
|
+
}
|
|
4671
|
+
return obj;
|
|
4672
|
+
};
|
|
4673
|
+
}
|
|
4674
|
+
|
|
4675
|
+
|
|
4676
|
+
/**
|
|
4677
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4678
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4679
|
+
* @return {!proto.wechaty.puppet.RoomPermissionResponse}
|
|
4680
|
+
*/
|
|
4681
|
+
proto.wechaty.puppet.RoomPermissionResponse.deserializeBinary = function(bytes) {
|
|
4682
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4683
|
+
var msg = new proto.wechaty.puppet.RoomPermissionResponse;
|
|
4684
|
+
return proto.wechaty.puppet.RoomPermissionResponse.deserializeBinaryFromReader(msg, reader);
|
|
4685
|
+
};
|
|
4686
|
+
|
|
4687
|
+
|
|
4688
|
+
/**
|
|
4689
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4690
|
+
* given reader into the given message object.
|
|
4691
|
+
* @param {!proto.wechaty.puppet.RoomPermissionResponse} msg The message object to deserialize into.
|
|
4692
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4693
|
+
* @return {!proto.wechaty.puppet.RoomPermissionResponse}
|
|
4694
|
+
*/
|
|
4695
|
+
proto.wechaty.puppet.RoomPermissionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4696
|
+
while (reader.nextField()) {
|
|
4697
|
+
if (reader.isEndGroup()) {
|
|
4698
|
+
break;
|
|
4699
|
+
}
|
|
4700
|
+
var field = reader.getFieldNumber();
|
|
4701
|
+
switch (field) {
|
|
4702
|
+
case 1:
|
|
4703
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4704
|
+
msg.setSendMessage(value);
|
|
4705
|
+
break;
|
|
4706
|
+
case 2:
|
|
4707
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4708
|
+
msg.setInvitationCheck(value);
|
|
4709
|
+
break;
|
|
4710
|
+
case 3:
|
|
4711
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4712
|
+
msg.setRoomTopicEdit(value);
|
|
4713
|
+
break;
|
|
4714
|
+
default:
|
|
4715
|
+
reader.skipField();
|
|
4716
|
+
break;
|
|
4717
|
+
}
|
|
4718
|
+
}
|
|
4719
|
+
return msg;
|
|
4720
|
+
};
|
|
4721
|
+
|
|
4722
|
+
|
|
4723
|
+
/**
|
|
4724
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4725
|
+
* @return {!Uint8Array}
|
|
4726
|
+
*/
|
|
4727
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.serializeBinary = function() {
|
|
4728
|
+
var writer = new jspb.BinaryWriter();
|
|
4729
|
+
proto.wechaty.puppet.RoomPermissionResponse.serializeBinaryToWriter(this, writer);
|
|
4730
|
+
return writer.getResultBuffer();
|
|
4731
|
+
};
|
|
4732
|
+
|
|
4733
|
+
|
|
4734
|
+
/**
|
|
4735
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4736
|
+
* format), writing to the given BinaryWriter.
|
|
4737
|
+
* @param {!proto.wechaty.puppet.RoomPermissionResponse} message
|
|
4738
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4739
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4740
|
+
*/
|
|
4741
|
+
proto.wechaty.puppet.RoomPermissionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4742
|
+
var f = undefined;
|
|
4743
|
+
f = message.getSendMessage();
|
|
4744
|
+
if (f) {
|
|
4745
|
+
writer.writeBool(
|
|
4746
|
+
1,
|
|
4747
|
+
f
|
|
4748
|
+
);
|
|
4749
|
+
}
|
|
4750
|
+
f = message.getInvitationCheck();
|
|
4751
|
+
if (f) {
|
|
4752
|
+
writer.writeBool(
|
|
4753
|
+
2,
|
|
4754
|
+
f
|
|
4755
|
+
);
|
|
4756
|
+
}
|
|
4757
|
+
f = message.getRoomTopicEdit();
|
|
4758
|
+
if (f) {
|
|
4759
|
+
writer.writeBool(
|
|
4760
|
+
3,
|
|
4761
|
+
f
|
|
4762
|
+
);
|
|
4763
|
+
}
|
|
4764
|
+
};
|
|
4765
|
+
|
|
4766
|
+
|
|
4767
|
+
/**
|
|
4768
|
+
* optional bool send_message = 1;
|
|
4769
|
+
* @return {boolean}
|
|
4770
|
+
*/
|
|
4771
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.getSendMessage = function() {
|
|
4772
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
4773
|
+
};
|
|
4774
|
+
|
|
4775
|
+
|
|
4776
|
+
/**
|
|
4777
|
+
* @param {boolean} value
|
|
4778
|
+
* @return {!proto.wechaty.puppet.RoomPermissionResponse} returns this
|
|
4779
|
+
*/
|
|
4780
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.setSendMessage = function(value) {
|
|
4781
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
4782
|
+
};
|
|
4783
|
+
|
|
4784
|
+
|
|
4785
|
+
/**
|
|
4786
|
+
* optional bool invitation_check = 2;
|
|
4787
|
+
* @return {boolean}
|
|
4788
|
+
*/
|
|
4789
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.getInvitationCheck = function() {
|
|
4790
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
4791
|
+
};
|
|
4792
|
+
|
|
4793
|
+
|
|
4794
|
+
/**
|
|
4795
|
+
* @param {boolean} value
|
|
4796
|
+
* @return {!proto.wechaty.puppet.RoomPermissionResponse} returns this
|
|
4797
|
+
*/
|
|
4798
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.setInvitationCheck = function(value) {
|
|
4799
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
4800
|
+
};
|
|
4801
|
+
|
|
4802
|
+
|
|
4803
|
+
/**
|
|
4804
|
+
* optional bool room_topic_edit = 3;
|
|
4805
|
+
* @return {boolean}
|
|
4806
|
+
*/
|
|
4807
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.getRoomTopicEdit = function() {
|
|
4808
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
4809
|
+
};
|
|
4810
|
+
|
|
4811
|
+
|
|
4812
|
+
/**
|
|
4813
|
+
* @param {boolean} value
|
|
4814
|
+
* @return {!proto.wechaty.puppet.RoomPermissionResponse} returns this
|
|
4815
|
+
*/
|
|
4816
|
+
proto.wechaty.puppet.RoomPermissionResponse.prototype.setRoomTopicEdit = function(value) {
|
|
4817
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
4818
|
+
};
|
|
4819
|
+
|
|
4820
|
+
|
|
4062
4821
|
goog.object.extend(exports, proto.wechaty.puppet);
|