@juzi/wechaty-grpc 1.0.62 → 1.0.63
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/room_pb.d.ts +42 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +331 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +57 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +86 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +44 -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/room.proto +7 -0
- package/dist/cjs/proto/wechaty/puppet.proto +12 -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 +10 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +42 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +331 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +57 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +86 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +44 -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/room.proto +7 -0
- package/dist/esm/proto/wechaty/puppet.proto +12 -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 +10 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/room_pb.d.ts +42 -0
- package/out/wechaty/puppet/room_pb.js +331 -0
- package/out/wechaty/puppet.openapi.yaml +57 -1
- package/out/wechaty/puppet.swagger.json +86 -1
- package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/out/wechaty/puppet_grpc_pb.js +44 -0
- package/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/out/wechaty/puppet_pb_service.js +80 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -643,3 +643,45 @@ export namespace RoomPermissionResponse {
|
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
+
export class RoomAdminsRequest extends jspb.Message {
|
|
647
|
+
getId(): string;
|
|
648
|
+
setId(value: string): void;
|
|
649
|
+
|
|
650
|
+
clearContactIdsList(): void;
|
|
651
|
+
getContactIdsList(): Array<string>;
|
|
652
|
+
setContactIdsList(value: Array<string>): void;
|
|
653
|
+
addContactIds(value: string, index?: number): string;
|
|
654
|
+
|
|
655
|
+
serializeBinary(): Uint8Array;
|
|
656
|
+
toObject(includeInstance?: boolean): RoomAdminsRequest.AsObject;
|
|
657
|
+
static toObject(includeInstance: boolean, msg: RoomAdminsRequest): RoomAdminsRequest.AsObject;
|
|
658
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
659
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
660
|
+
static serializeBinaryToWriter(message: RoomAdminsRequest, writer: jspb.BinaryWriter): void;
|
|
661
|
+
static deserializeBinary(bytes: Uint8Array): RoomAdminsRequest;
|
|
662
|
+
static deserializeBinaryFromReader(message: RoomAdminsRequest, reader: jspb.BinaryReader): RoomAdminsRequest;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export namespace RoomAdminsRequest {
|
|
666
|
+
export type AsObject = {
|
|
667
|
+
id: string,
|
|
668
|
+
contactIdsList: Array<string>,
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export class RoomAdminsResponse extends jspb.Message {
|
|
673
|
+
serializeBinary(): Uint8Array;
|
|
674
|
+
toObject(includeInstance?: boolean): RoomAdminsResponse.AsObject;
|
|
675
|
+
static toObject(includeInstance: boolean, msg: RoomAdminsResponse): RoomAdminsResponse.AsObject;
|
|
676
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
677
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
678
|
+
static serializeBinaryToWriter(message: RoomAdminsResponse, writer: jspb.BinaryWriter): void;
|
|
679
|
+
static deserializeBinary(bytes: Uint8Array): RoomAdminsResponse;
|
|
680
|
+
static deserializeBinaryFromReader(message: RoomAdminsResponse, reader: jspb.BinaryReader): RoomAdminsResponse;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export namespace RoomAdminsResponse {
|
|
684
|
+
export type AsObject = {
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
@@ -21,6 +21,8 @@ var wechaty_puppet_util_pb = require('../../wechaty/puppet/util_pb.js');
|
|
|
21
21
|
goog.object.extend(proto, wechaty_puppet_util_pb);
|
|
22
22
|
goog.exportSymbol('proto.wechaty.puppet.RoomAddRequest', null, global);
|
|
23
23
|
goog.exportSymbol('proto.wechaty.puppet.RoomAddResponse', null, global);
|
|
24
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomAdminsRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.wechaty.puppet.RoomAdminsResponse', null, global);
|
|
24
26
|
goog.exportSymbol('proto.wechaty.puppet.RoomAnnounceRequest', null, global);
|
|
25
27
|
goog.exportSymbol('proto.wechaty.puppet.RoomAnnounceResponse', null, global);
|
|
26
28
|
goog.exportSymbol('proto.wechaty.puppet.RoomAvatarRequest', null, global);
|
|
@@ -591,6 +593,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
591
593
|
*/
|
|
592
594
|
proto.wechaty.puppet.RoomPermissionResponse.displayName = 'proto.wechaty.puppet.RoomPermissionResponse';
|
|
593
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* Generated by JsPbCodeGenerator.
|
|
598
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
599
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
600
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
601
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
602
|
+
* valid.
|
|
603
|
+
* @extends {jspb.Message}
|
|
604
|
+
* @constructor
|
|
605
|
+
*/
|
|
606
|
+
proto.wechaty.puppet.RoomAdminsRequest = function(opt_data) {
|
|
607
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.RoomAdminsRequest.repeatedFields_, null);
|
|
608
|
+
};
|
|
609
|
+
goog.inherits(proto.wechaty.puppet.RoomAdminsRequest, jspb.Message);
|
|
610
|
+
if (goog.DEBUG && !COMPILED) {
|
|
611
|
+
/**
|
|
612
|
+
* @public
|
|
613
|
+
* @override
|
|
614
|
+
*/
|
|
615
|
+
proto.wechaty.puppet.RoomAdminsRequest.displayName = 'proto.wechaty.puppet.RoomAdminsRequest';
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* Generated by JsPbCodeGenerator.
|
|
619
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
620
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
621
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
622
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
623
|
+
* valid.
|
|
624
|
+
* @extends {jspb.Message}
|
|
625
|
+
* @constructor
|
|
626
|
+
*/
|
|
627
|
+
proto.wechaty.puppet.RoomAdminsResponse = function(opt_data) {
|
|
628
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
629
|
+
};
|
|
630
|
+
goog.inherits(proto.wechaty.puppet.RoomAdminsResponse, jspb.Message);
|
|
631
|
+
if (goog.DEBUG && !COMPILED) {
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
* @override
|
|
635
|
+
*/
|
|
636
|
+
proto.wechaty.puppet.RoomAdminsResponse.displayName = 'proto.wechaty.puppet.RoomAdminsResponse';
|
|
637
|
+
}
|
|
594
638
|
|
|
595
639
|
|
|
596
640
|
|
|
@@ -4940,4 +4984,291 @@ proto.wechaty.puppet.RoomPermissionResponse.prototype.setForbidRoomTopicEdit = f
|
|
|
4940
4984
|
};
|
|
4941
4985
|
|
|
4942
4986
|
|
|
4987
|
+
|
|
4988
|
+
/**
|
|
4989
|
+
* List of repeated fields within this message type.
|
|
4990
|
+
* @private {!Array<number>}
|
|
4991
|
+
* @const
|
|
4992
|
+
*/
|
|
4993
|
+
proto.wechaty.puppet.RoomAdminsRequest.repeatedFields_ = [2];
|
|
4994
|
+
|
|
4995
|
+
|
|
4996
|
+
|
|
4997
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4998
|
+
/**
|
|
4999
|
+
* Creates an object representation of this proto.
|
|
5000
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5001
|
+
* Optional fields that are not set will be set to undefined.
|
|
5002
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5003
|
+
* For the list of reserved names please see:
|
|
5004
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5005
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5006
|
+
* JSPB instance for transitional soy proto support:
|
|
5007
|
+
* http://goto/soy-param-migration
|
|
5008
|
+
* @return {!Object}
|
|
5009
|
+
*/
|
|
5010
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5011
|
+
return proto.wechaty.puppet.RoomAdminsRequest.toObject(opt_includeInstance, this);
|
|
5012
|
+
};
|
|
5013
|
+
|
|
5014
|
+
|
|
5015
|
+
/**
|
|
5016
|
+
* Static version of the {@see toObject} method.
|
|
5017
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5018
|
+
* the JSPB instance for transitional soy proto support:
|
|
5019
|
+
* http://goto/soy-param-migration
|
|
5020
|
+
* @param {!proto.wechaty.puppet.RoomAdminsRequest} msg The msg instance to transform.
|
|
5021
|
+
* @return {!Object}
|
|
5022
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5023
|
+
*/
|
|
5024
|
+
proto.wechaty.puppet.RoomAdminsRequest.toObject = function(includeInstance, msg) {
|
|
5025
|
+
var f, obj = {
|
|
5026
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5027
|
+
contactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
5028
|
+
};
|
|
5029
|
+
|
|
5030
|
+
if (includeInstance) {
|
|
5031
|
+
obj.$jspbMessageInstance = msg;
|
|
5032
|
+
}
|
|
5033
|
+
return obj;
|
|
5034
|
+
};
|
|
5035
|
+
}
|
|
5036
|
+
|
|
5037
|
+
|
|
5038
|
+
/**
|
|
5039
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5040
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5041
|
+
* @return {!proto.wechaty.puppet.RoomAdminsRequest}
|
|
5042
|
+
*/
|
|
5043
|
+
proto.wechaty.puppet.RoomAdminsRequest.deserializeBinary = function(bytes) {
|
|
5044
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5045
|
+
var msg = new proto.wechaty.puppet.RoomAdminsRequest;
|
|
5046
|
+
return proto.wechaty.puppet.RoomAdminsRequest.deserializeBinaryFromReader(msg, reader);
|
|
5047
|
+
};
|
|
5048
|
+
|
|
5049
|
+
|
|
5050
|
+
/**
|
|
5051
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5052
|
+
* given reader into the given message object.
|
|
5053
|
+
* @param {!proto.wechaty.puppet.RoomAdminsRequest} msg The message object to deserialize into.
|
|
5054
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5055
|
+
* @return {!proto.wechaty.puppet.RoomAdminsRequest}
|
|
5056
|
+
*/
|
|
5057
|
+
proto.wechaty.puppet.RoomAdminsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5058
|
+
while (reader.nextField()) {
|
|
5059
|
+
if (reader.isEndGroup()) {
|
|
5060
|
+
break;
|
|
5061
|
+
}
|
|
5062
|
+
var field = reader.getFieldNumber();
|
|
5063
|
+
switch (field) {
|
|
5064
|
+
case 1:
|
|
5065
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5066
|
+
msg.setId(value);
|
|
5067
|
+
break;
|
|
5068
|
+
case 2:
|
|
5069
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5070
|
+
msg.addContactIds(value);
|
|
5071
|
+
break;
|
|
5072
|
+
default:
|
|
5073
|
+
reader.skipField();
|
|
5074
|
+
break;
|
|
5075
|
+
}
|
|
5076
|
+
}
|
|
5077
|
+
return msg;
|
|
5078
|
+
};
|
|
5079
|
+
|
|
5080
|
+
|
|
5081
|
+
/**
|
|
5082
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5083
|
+
* @return {!Uint8Array}
|
|
5084
|
+
*/
|
|
5085
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.serializeBinary = function() {
|
|
5086
|
+
var writer = new jspb.BinaryWriter();
|
|
5087
|
+
proto.wechaty.puppet.RoomAdminsRequest.serializeBinaryToWriter(this, writer);
|
|
5088
|
+
return writer.getResultBuffer();
|
|
5089
|
+
};
|
|
5090
|
+
|
|
5091
|
+
|
|
5092
|
+
/**
|
|
5093
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5094
|
+
* format), writing to the given BinaryWriter.
|
|
5095
|
+
* @param {!proto.wechaty.puppet.RoomAdminsRequest} message
|
|
5096
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5097
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5098
|
+
*/
|
|
5099
|
+
proto.wechaty.puppet.RoomAdminsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5100
|
+
var f = undefined;
|
|
5101
|
+
f = message.getId();
|
|
5102
|
+
if (f.length > 0) {
|
|
5103
|
+
writer.writeString(
|
|
5104
|
+
1,
|
|
5105
|
+
f
|
|
5106
|
+
);
|
|
5107
|
+
}
|
|
5108
|
+
f = message.getContactIdsList();
|
|
5109
|
+
if (f.length > 0) {
|
|
5110
|
+
writer.writeRepeatedString(
|
|
5111
|
+
2,
|
|
5112
|
+
f
|
|
5113
|
+
);
|
|
5114
|
+
}
|
|
5115
|
+
};
|
|
5116
|
+
|
|
5117
|
+
|
|
5118
|
+
/**
|
|
5119
|
+
* optional string id = 1;
|
|
5120
|
+
* @return {string}
|
|
5121
|
+
*/
|
|
5122
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.getId = function() {
|
|
5123
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5124
|
+
};
|
|
5125
|
+
|
|
5126
|
+
|
|
5127
|
+
/**
|
|
5128
|
+
* @param {string} value
|
|
5129
|
+
* @return {!proto.wechaty.puppet.RoomAdminsRequest} returns this
|
|
5130
|
+
*/
|
|
5131
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.setId = function(value) {
|
|
5132
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5133
|
+
};
|
|
5134
|
+
|
|
5135
|
+
|
|
5136
|
+
/**
|
|
5137
|
+
* repeated string contact_ids = 2;
|
|
5138
|
+
* @return {!Array<string>}
|
|
5139
|
+
*/
|
|
5140
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.getContactIdsList = function() {
|
|
5141
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
5142
|
+
};
|
|
5143
|
+
|
|
5144
|
+
|
|
5145
|
+
/**
|
|
5146
|
+
* @param {!Array<string>} value
|
|
5147
|
+
* @return {!proto.wechaty.puppet.RoomAdminsRequest} returns this
|
|
5148
|
+
*/
|
|
5149
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.setContactIdsList = function(value) {
|
|
5150
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
5151
|
+
};
|
|
5152
|
+
|
|
5153
|
+
|
|
5154
|
+
/**
|
|
5155
|
+
* @param {string} value
|
|
5156
|
+
* @param {number=} opt_index
|
|
5157
|
+
* @return {!proto.wechaty.puppet.RoomAdminsRequest} returns this
|
|
5158
|
+
*/
|
|
5159
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.addContactIds = function(value, opt_index) {
|
|
5160
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
5161
|
+
};
|
|
5162
|
+
|
|
5163
|
+
|
|
5164
|
+
/**
|
|
5165
|
+
* Clears the list making it empty but non-null.
|
|
5166
|
+
* @return {!proto.wechaty.puppet.RoomAdminsRequest} returns this
|
|
5167
|
+
*/
|
|
5168
|
+
proto.wechaty.puppet.RoomAdminsRequest.prototype.clearContactIdsList = function() {
|
|
5169
|
+
return this.setContactIdsList([]);
|
|
5170
|
+
};
|
|
5171
|
+
|
|
5172
|
+
|
|
5173
|
+
|
|
5174
|
+
|
|
5175
|
+
|
|
5176
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5177
|
+
/**
|
|
5178
|
+
* Creates an object representation of this proto.
|
|
5179
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5180
|
+
* Optional fields that are not set will be set to undefined.
|
|
5181
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5182
|
+
* For the list of reserved names please see:
|
|
5183
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5184
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5185
|
+
* JSPB instance for transitional soy proto support:
|
|
5186
|
+
* http://goto/soy-param-migration
|
|
5187
|
+
* @return {!Object}
|
|
5188
|
+
*/
|
|
5189
|
+
proto.wechaty.puppet.RoomAdminsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5190
|
+
return proto.wechaty.puppet.RoomAdminsResponse.toObject(opt_includeInstance, this);
|
|
5191
|
+
};
|
|
5192
|
+
|
|
5193
|
+
|
|
5194
|
+
/**
|
|
5195
|
+
* Static version of the {@see toObject} method.
|
|
5196
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5197
|
+
* the JSPB instance for transitional soy proto support:
|
|
5198
|
+
* http://goto/soy-param-migration
|
|
5199
|
+
* @param {!proto.wechaty.puppet.RoomAdminsResponse} msg The msg instance to transform.
|
|
5200
|
+
* @return {!Object}
|
|
5201
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5202
|
+
*/
|
|
5203
|
+
proto.wechaty.puppet.RoomAdminsResponse.toObject = function(includeInstance, msg) {
|
|
5204
|
+
var f, obj = {
|
|
5205
|
+
|
|
5206
|
+
};
|
|
5207
|
+
|
|
5208
|
+
if (includeInstance) {
|
|
5209
|
+
obj.$jspbMessageInstance = msg;
|
|
5210
|
+
}
|
|
5211
|
+
return obj;
|
|
5212
|
+
};
|
|
5213
|
+
}
|
|
5214
|
+
|
|
5215
|
+
|
|
5216
|
+
/**
|
|
5217
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5218
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5219
|
+
* @return {!proto.wechaty.puppet.RoomAdminsResponse}
|
|
5220
|
+
*/
|
|
5221
|
+
proto.wechaty.puppet.RoomAdminsResponse.deserializeBinary = function(bytes) {
|
|
5222
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5223
|
+
var msg = new proto.wechaty.puppet.RoomAdminsResponse;
|
|
5224
|
+
return proto.wechaty.puppet.RoomAdminsResponse.deserializeBinaryFromReader(msg, reader);
|
|
5225
|
+
};
|
|
5226
|
+
|
|
5227
|
+
|
|
5228
|
+
/**
|
|
5229
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5230
|
+
* given reader into the given message object.
|
|
5231
|
+
* @param {!proto.wechaty.puppet.RoomAdminsResponse} msg The message object to deserialize into.
|
|
5232
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5233
|
+
* @return {!proto.wechaty.puppet.RoomAdminsResponse}
|
|
5234
|
+
*/
|
|
5235
|
+
proto.wechaty.puppet.RoomAdminsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5236
|
+
while (reader.nextField()) {
|
|
5237
|
+
if (reader.isEndGroup()) {
|
|
5238
|
+
break;
|
|
5239
|
+
}
|
|
5240
|
+
var field = reader.getFieldNumber();
|
|
5241
|
+
switch (field) {
|
|
5242
|
+
default:
|
|
5243
|
+
reader.skipField();
|
|
5244
|
+
break;
|
|
5245
|
+
}
|
|
5246
|
+
}
|
|
5247
|
+
return msg;
|
|
5248
|
+
};
|
|
5249
|
+
|
|
5250
|
+
|
|
5251
|
+
/**
|
|
5252
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5253
|
+
* @return {!Uint8Array}
|
|
5254
|
+
*/
|
|
5255
|
+
proto.wechaty.puppet.RoomAdminsResponse.prototype.serializeBinary = function() {
|
|
5256
|
+
var writer = new jspb.BinaryWriter();
|
|
5257
|
+
proto.wechaty.puppet.RoomAdminsResponse.serializeBinaryToWriter(this, writer);
|
|
5258
|
+
return writer.getResultBuffer();
|
|
5259
|
+
};
|
|
5260
|
+
|
|
5261
|
+
|
|
5262
|
+
/**
|
|
5263
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5264
|
+
* format), writing to the given BinaryWriter.
|
|
5265
|
+
* @param {!proto.wechaty.puppet.RoomAdminsResponse} message
|
|
5266
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5267
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5268
|
+
*/
|
|
5269
|
+
proto.wechaty.puppet.RoomAdminsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5270
|
+
var f = undefined;
|
|
5271
|
+
};
|
|
5272
|
+
|
|
5273
|
+
|
|
4943
5274
|
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.63
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -1604,6 +1604,33 @@ paths:
|
|
|
1604
1604
|
type: string
|
|
1605
1605
|
tags:
|
|
1606
1606
|
- Puppet
|
|
1607
|
+
'/rooms/{id}/add/admins/{contactIds}':
|
|
1608
|
+
put:
|
|
1609
|
+
operationId: Puppet_RoomAddAdmins
|
|
1610
|
+
responses:
|
|
1611
|
+
'200':
|
|
1612
|
+
description: A successful response.
|
|
1613
|
+
schema:
|
|
1614
|
+
$ref: '#/definitions/puppetRoomAdminsResponse'
|
|
1615
|
+
default:
|
|
1616
|
+
description: An unexpected error response.
|
|
1617
|
+
schema:
|
|
1618
|
+
$ref: '#/definitions/rpcStatus'
|
|
1619
|
+
parameters:
|
|
1620
|
+
- name: id
|
|
1621
|
+
in: path
|
|
1622
|
+
required: true
|
|
1623
|
+
type: string
|
|
1624
|
+
- name: contactIds
|
|
1625
|
+
in: path
|
|
1626
|
+
required: true
|
|
1627
|
+
type: array
|
|
1628
|
+
items:
|
|
1629
|
+
type: string
|
|
1630
|
+
collectionFormat: csv
|
|
1631
|
+
minItems: 1
|
|
1632
|
+
tags:
|
|
1633
|
+
- Puppet
|
|
1607
1634
|
'/rooms/{id}/add/{contactId}':
|
|
1608
1635
|
put:
|
|
1609
1636
|
operationId: Puppet_RoomAdd
|
|
@@ -1710,6 +1737,33 @@ paths:
|
|
|
1710
1737
|
type: string
|
|
1711
1738
|
tags:
|
|
1712
1739
|
- Puppet
|
|
1740
|
+
'/rooms/{id}/del/admins/{contactIds}':
|
|
1741
|
+
delete:
|
|
1742
|
+
operationId: Puppet_RoomDelAdmins
|
|
1743
|
+
responses:
|
|
1744
|
+
'200':
|
|
1745
|
+
description: A successful response.
|
|
1746
|
+
schema:
|
|
1747
|
+
$ref: '#/definitions/puppetRoomAdminsResponse'
|
|
1748
|
+
default:
|
|
1749
|
+
description: An unexpected error response.
|
|
1750
|
+
schema:
|
|
1751
|
+
$ref: '#/definitions/rpcStatus'
|
|
1752
|
+
parameters:
|
|
1753
|
+
- name: id
|
|
1754
|
+
in: path
|
|
1755
|
+
required: true
|
|
1756
|
+
type: string
|
|
1757
|
+
- name: contactIds
|
|
1758
|
+
in: path
|
|
1759
|
+
required: true
|
|
1760
|
+
type: array
|
|
1761
|
+
items:
|
|
1762
|
+
type: string
|
|
1763
|
+
collectionFormat: csv
|
|
1764
|
+
minItems: 1
|
|
1765
|
+
tags:
|
|
1766
|
+
- Puppet
|
|
1713
1767
|
'/rooms/{id}/dirty/members/{type}':
|
|
1714
1768
|
put:
|
|
1715
1769
|
operationId: Puppet_DirtyPayload4
|
|
@@ -3380,6 +3434,8 @@ definitions:
|
|
|
3380
3434
|
type: object
|
|
3381
3435
|
puppetRoomAddResponse:
|
|
3382
3436
|
type: object
|
|
3437
|
+
puppetRoomAdminsResponse:
|
|
3438
|
+
type: object
|
|
3383
3439
|
puppetRoomAnnounceResponse:
|
|
3384
3440
|
type: object
|
|
3385
3441
|
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.63",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -2381,6 +2381,47 @@
|
|
|
2381
2381
|
]
|
|
2382
2382
|
}
|
|
2383
2383
|
},
|
|
2384
|
+
"/rooms/{id}/add/admins/{contactIds}": {
|
|
2385
|
+
"put": {
|
|
2386
|
+
"operationId": "Puppet_RoomAddAdmins",
|
|
2387
|
+
"responses": {
|
|
2388
|
+
"200": {
|
|
2389
|
+
"description": "A successful response.",
|
|
2390
|
+
"schema": {
|
|
2391
|
+
"$ref": "#/definitions/puppetRoomAdminsResponse"
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
"default": {
|
|
2395
|
+
"description": "An unexpected error response.",
|
|
2396
|
+
"schema": {
|
|
2397
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
"parameters": [
|
|
2402
|
+
{
|
|
2403
|
+
"name": "id",
|
|
2404
|
+
"in": "path",
|
|
2405
|
+
"required": true,
|
|
2406
|
+
"type": "string"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"name": "contactIds",
|
|
2410
|
+
"in": "path",
|
|
2411
|
+
"required": true,
|
|
2412
|
+
"type": "array",
|
|
2413
|
+
"items": {
|
|
2414
|
+
"type": "string"
|
|
2415
|
+
},
|
|
2416
|
+
"collectionFormat": "csv",
|
|
2417
|
+
"minItems": 1
|
|
2418
|
+
}
|
|
2419
|
+
],
|
|
2420
|
+
"tags": [
|
|
2421
|
+
"Puppet"
|
|
2422
|
+
]
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2384
2425
|
"/rooms/{id}/add/{contactId}": {
|
|
2385
2426
|
"put": {
|
|
2386
2427
|
"operationId": "Puppet_RoomAdd",
|
|
@@ -2544,6 +2585,47 @@
|
|
|
2544
2585
|
]
|
|
2545
2586
|
}
|
|
2546
2587
|
},
|
|
2588
|
+
"/rooms/{id}/del/admins/{contactIds}": {
|
|
2589
|
+
"delete": {
|
|
2590
|
+
"operationId": "Puppet_RoomDelAdmins",
|
|
2591
|
+
"responses": {
|
|
2592
|
+
"200": {
|
|
2593
|
+
"description": "A successful response.",
|
|
2594
|
+
"schema": {
|
|
2595
|
+
"$ref": "#/definitions/puppetRoomAdminsResponse"
|
|
2596
|
+
}
|
|
2597
|
+
},
|
|
2598
|
+
"default": {
|
|
2599
|
+
"description": "An unexpected error response.",
|
|
2600
|
+
"schema": {
|
|
2601
|
+
"$ref": "#/definitions/rpcStatus"
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
},
|
|
2605
|
+
"parameters": [
|
|
2606
|
+
{
|
|
2607
|
+
"name": "id",
|
|
2608
|
+
"in": "path",
|
|
2609
|
+
"required": true,
|
|
2610
|
+
"type": "string"
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
"name": "contactIds",
|
|
2614
|
+
"in": "path",
|
|
2615
|
+
"required": true,
|
|
2616
|
+
"type": "array",
|
|
2617
|
+
"items": {
|
|
2618
|
+
"type": "string"
|
|
2619
|
+
},
|
|
2620
|
+
"collectionFormat": "csv",
|
|
2621
|
+
"minItems": 1
|
|
2622
|
+
}
|
|
2623
|
+
],
|
|
2624
|
+
"tags": [
|
|
2625
|
+
"Puppet"
|
|
2626
|
+
]
|
|
2627
|
+
}
|
|
2628
|
+
},
|
|
2547
2629
|
"/rooms/{id}/dirty/members/{type}": {
|
|
2548
2630
|
"put": {
|
|
2549
2631
|
"operationId": "Puppet_DirtyPayload4",
|
|
@@ -4788,6 +4870,9 @@
|
|
|
4788
4870
|
"puppetRoomAddResponse": {
|
|
4789
4871
|
"type": "object"
|
|
4790
4872
|
},
|
|
4873
|
+
"puppetRoomAdminsResponse": {
|
|
4874
|
+
"type": "object"
|
|
4875
|
+
},
|
|
4791
4876
|
"puppetRoomAnnounceResponse": {
|
|
4792
4877
|
"type": "object",
|
|
4793
4878
|
"properties": {
|
|
@@ -89,6 +89,8 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
89
89
|
roomAnnounce: IPuppetService_IRoomAnnounce;
|
|
90
90
|
roomOwnerTransfer: IPuppetService_IRoomOwnerTransfer;
|
|
91
91
|
roomPermission: IPuppetService_IRoomPermission;
|
|
92
|
+
roomAddAdmins: IPuppetService_IRoomAddAdmins;
|
|
93
|
+
roomDelAdmins: IPuppetService_IRoomDelAdmins;
|
|
92
94
|
roomMemberPayload: IPuppetService_IRoomMemberPayload;
|
|
93
95
|
roomMemberList: IPuppetService_IRoomMemberList;
|
|
94
96
|
roomInvitationPayload: IPuppetService_IRoomInvitationPayload;
|
|
@@ -703,6 +705,24 @@ interface IPuppetService_IRoomPermission extends grpc.MethodDefinition<wechaty_p
|
|
|
703
705
|
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomPermissionResponse>;
|
|
704
706
|
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomPermissionResponse>;
|
|
705
707
|
}
|
|
708
|
+
interface IPuppetService_IRoomAddAdmins extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomAdminsRequest, wechaty_puppet_room_pb.RoomAdminsResponse> {
|
|
709
|
+
path: "/wechaty.Puppet/RoomAddAdmins";
|
|
710
|
+
requestStream: false;
|
|
711
|
+
responseStream: false;
|
|
712
|
+
requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomAdminsRequest>;
|
|
713
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomAdminsRequest>;
|
|
714
|
+
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
715
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
716
|
+
}
|
|
717
|
+
interface IPuppetService_IRoomDelAdmins extends grpc.MethodDefinition<wechaty_puppet_room_pb.RoomAdminsRequest, wechaty_puppet_room_pb.RoomAdminsResponse> {
|
|
718
|
+
path: "/wechaty.Puppet/RoomDelAdmins";
|
|
719
|
+
requestStream: false;
|
|
720
|
+
responseStream: false;
|
|
721
|
+
requestSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomAdminsRequest>;
|
|
722
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomAdminsRequest>;
|
|
723
|
+
responseSerialize: grpc.serialize<wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
724
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
725
|
+
}
|
|
706
726
|
interface IPuppetService_IRoomMemberPayload extends grpc.MethodDefinition<wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, wechaty_puppet_room_member_pb.RoomMemberPayloadResponse> {
|
|
707
727
|
path: "/wechaty.Puppet/RoomMemberPayload";
|
|
708
728
|
requestStream: false;
|
|
@@ -1015,6 +1035,8 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
1015
1035
|
roomAnnounce: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAnnounceRequest, wechaty_puppet_room_pb.RoomAnnounceResponse>;
|
|
1016
1036
|
roomOwnerTransfer: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomOwnerTransferRequest, wechaty_puppet_room_pb.RoomOwnerTransferResponse>;
|
|
1017
1037
|
roomPermission: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomPermissionRequest, wechaty_puppet_room_pb.RoomPermissionResponse>;
|
|
1038
|
+
roomAddAdmins: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAdminsRequest, wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
1039
|
+
roomDelAdmins: grpc.handleUnaryCall<wechaty_puppet_room_pb.RoomAdminsRequest, wechaty_puppet_room_pb.RoomAdminsResponse>;
|
|
1018
1040
|
roomMemberPayload: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, wechaty_puppet_room_member_pb.RoomMemberPayloadResponse>;
|
|
1019
1041
|
roomMemberList: grpc.handleUnaryCall<wechaty_puppet_room_member_pb.RoomMemberListRequest, wechaty_puppet_room_member_pb.RoomMemberListResponse>;
|
|
1020
1042
|
roomInvitationPayload: grpc.handleUnaryCall<wechaty_puppet_room_invitation_pb.RoomInvitationPayloadRequest, wechaty_puppet_room_invitation_pb.RoomInvitationPayloadResponse>;
|
|
@@ -1239,6 +1261,12 @@ export interface IPuppetClient {
|
|
|
1239
1261
|
roomPermission(request: wechaty_puppet_room_pb.RoomPermissionRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPermissionResponse) => void): grpc.ClientUnaryCall;
|
|
1240
1262
|
roomPermission(request: wechaty_puppet_room_pb.RoomPermissionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPermissionResponse) => void): grpc.ClientUnaryCall;
|
|
1241
1263
|
roomPermission(request: wechaty_puppet_room_pb.RoomPermissionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPermissionResponse) => void): grpc.ClientUnaryCall;
|
|
1264
|
+
roomAddAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1265
|
+
roomAddAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1266
|
+
roomAddAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1267
|
+
roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1268
|
+
roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1269
|
+
roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1242
1270
|
roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1243
1271
|
roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1244
1272
|
roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1518,6 +1546,12 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1518
1546
|
public roomPermission(request: wechaty_puppet_room_pb.RoomPermissionRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPermissionResponse) => void): grpc.ClientUnaryCall;
|
|
1519
1547
|
public roomPermission(request: wechaty_puppet_room_pb.RoomPermissionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPermissionResponse) => void): grpc.ClientUnaryCall;
|
|
1520
1548
|
public roomPermission(request: wechaty_puppet_room_pb.RoomPermissionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomPermissionResponse) => void): grpc.ClientUnaryCall;
|
|
1549
|
+
public roomAddAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1550
|
+
public roomAddAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1551
|
+
public roomAddAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1552
|
+
public roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1553
|
+
public roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1554
|
+
public roomDelAdmins(request: wechaty_puppet_room_pb.RoomAdminsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_pb.RoomAdminsResponse) => void): grpc.ClientUnaryCall;
|
|
1521
1555
|
public roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1522
1556
|
public roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1523
1557
|
public roomMemberPayload(request: wechaty_puppet_room_member_pb.RoomMemberPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_room_member_pb.RoomMemberPayloadResponse) => void): grpc.ClientUnaryCall;
|