@juzi/wechaty-grpc 1.0.21 → 1.0.22
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/post_pb.d.ts +5 -3
- package/dist/cjs/out/wechaty/puppet/post_pb.js +37 -11
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +5 -3
- package/dist/cjs/out/wechaty/puppet.swagger.json +6 -3
- package/dist/cjs/proto/wechaty/puppet/post.proto +1 -1
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/post_pb.d.ts +5 -3
- package/dist/esm/out/wechaty/puppet/post_pb.js +37 -11
- package/dist/esm/out/wechaty/puppet.openapi.yaml +5 -3
- package/dist/esm/out/wechaty/puppet.swagger.json +6 -3
- package/dist/esm/proto/wechaty/puppet/post.proto +1 -1
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/post_pb.d.ts +5 -3
- package/out/wechaty/puppet/post_pb.js +37 -11
- package/out/wechaty/puppet.openapi.yaml +5 -3
- package/out/wechaty/puppet.swagger.json +6 -3
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -163,8 +163,10 @@ export class PostCommentRequest extends jspb.Message {
|
|
|
163
163
|
getText(): string;
|
|
164
164
|
setText(value: string): void;
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
clearMentionalIdListList(): void;
|
|
167
|
+
getMentionalIdListList(): Array<string>;
|
|
168
|
+
setMentionalIdListList(value: Array<string>): void;
|
|
169
|
+
addMentionalIdList(value: string, index?: number): string;
|
|
168
170
|
|
|
169
171
|
serializeBinary(): Uint8Array;
|
|
170
172
|
toObject(includeInstance?: boolean): PostCommentRequest.AsObject;
|
|
@@ -180,7 +182,7 @@ export namespace PostCommentRequest {
|
|
|
180
182
|
export type AsObject = {
|
|
181
183
|
postId: string,
|
|
182
184
|
text: string,
|
|
183
|
-
|
|
185
|
+
mentionalIdListList: Array<string>,
|
|
184
186
|
}
|
|
185
187
|
}
|
|
186
188
|
|
|
@@ -109,7 +109,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
109
109
|
* @constructor
|
|
110
110
|
*/
|
|
111
111
|
proto.wechaty.puppet.PostCommentRequest = function(opt_data) {
|
|
112
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
112
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.PostCommentRequest.repeatedFields_, null);
|
|
113
113
|
};
|
|
114
114
|
goog.inherits(proto.wechaty.puppet.PostCommentRequest, jspb.Message);
|
|
115
115
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1343,6 +1343,13 @@ proto.wechaty.puppet.PostPayloadServer.prototype.setLike = function(value) {
|
|
|
1343
1343
|
|
|
1344
1344
|
|
|
1345
1345
|
|
|
1346
|
+
/**
|
|
1347
|
+
* List of repeated fields within this message type.
|
|
1348
|
+
* @private {!Array<number>}
|
|
1349
|
+
* @const
|
|
1350
|
+
*/
|
|
1351
|
+
proto.wechaty.puppet.PostCommentRequest.repeatedFields_ = [3];
|
|
1352
|
+
|
|
1346
1353
|
|
|
1347
1354
|
|
|
1348
1355
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1376,7 +1383,7 @@ proto.wechaty.puppet.PostCommentRequest.toObject = function(includeInstance, msg
|
|
|
1376
1383
|
var f, obj = {
|
|
1377
1384
|
postId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1378
1385
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1379
|
-
|
|
1386
|
+
mentionalIdListList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
1380
1387
|
};
|
|
1381
1388
|
|
|
1382
1389
|
if (includeInstance) {
|
|
@@ -1423,7 +1430,7 @@ proto.wechaty.puppet.PostCommentRequest.deserializeBinaryFromReader = function(m
|
|
|
1423
1430
|
break;
|
|
1424
1431
|
case 3:
|
|
1425
1432
|
var value = /** @type {string} */ (reader.readString());
|
|
1426
|
-
msg.
|
|
1433
|
+
msg.addMentionalIdList(value);
|
|
1427
1434
|
break;
|
|
1428
1435
|
default:
|
|
1429
1436
|
reader.skipField();
|
|
@@ -1468,9 +1475,9 @@ proto.wechaty.puppet.PostCommentRequest.serializeBinaryToWriter = function(messa
|
|
|
1468
1475
|
f
|
|
1469
1476
|
);
|
|
1470
1477
|
}
|
|
1471
|
-
f = message.
|
|
1478
|
+
f = message.getMentionalIdListList();
|
|
1472
1479
|
if (f.length > 0) {
|
|
1473
|
-
writer.
|
|
1480
|
+
writer.writeRepeatedString(
|
|
1474
1481
|
3,
|
|
1475
1482
|
f
|
|
1476
1483
|
);
|
|
@@ -1515,20 +1522,39 @@ proto.wechaty.puppet.PostCommentRequest.prototype.setText = function(value) {
|
|
|
1515
1522
|
|
|
1516
1523
|
|
|
1517
1524
|
/**
|
|
1518
|
-
*
|
|
1519
|
-
* @return {string}
|
|
1525
|
+
* repeated string mentional_id_list = 3;
|
|
1526
|
+
* @return {!Array<string>}
|
|
1520
1527
|
*/
|
|
1521
|
-
proto.wechaty.puppet.PostCommentRequest.prototype.
|
|
1522
|
-
return /** @type {string} */ (jspb.Message.
|
|
1528
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.getMentionalIdListList = function() {
|
|
1529
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @param {!Array<string>} value
|
|
1535
|
+
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1536
|
+
*/
|
|
1537
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.setMentionalIdListList = function(value) {
|
|
1538
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
1523
1539
|
};
|
|
1524
1540
|
|
|
1525
1541
|
|
|
1526
1542
|
/**
|
|
1527
1543
|
* @param {string} value
|
|
1544
|
+
* @param {number=} opt_index
|
|
1545
|
+
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1546
|
+
*/
|
|
1547
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.addMentionalIdList = function(value, opt_index) {
|
|
1548
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Clears the list making it empty but non-null.
|
|
1528
1554
|
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1529
1555
|
*/
|
|
1530
|
-
proto.wechaty.puppet.PostCommentRequest.prototype.
|
|
1531
|
-
return
|
|
1556
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.clearMentionalIdListList = function() {
|
|
1557
|
+
return this.setMentionalIdListList([]);
|
|
1532
1558
|
};
|
|
1533
1559
|
|
|
1534
1560
|
|
|
@@ -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.22
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2680,8 +2680,10 @@ definitions:
|
|
|
2680
2680
|
type: string
|
|
2681
2681
|
text:
|
|
2682
2682
|
type: string
|
|
2683
|
-
|
|
2684
|
-
type:
|
|
2683
|
+
mentionalIdList:
|
|
2684
|
+
type: array
|
|
2685
|
+
items:
|
|
2686
|
+
type: string
|
|
2685
2687
|
puppetPostCommentResponse:
|
|
2686
2688
|
type: object
|
|
2687
2689
|
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.22",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3894,8 +3894,11 @@
|
|
|
3894
3894
|
"text": {
|
|
3895
3895
|
"type": "string"
|
|
3896
3896
|
},
|
|
3897
|
-
"
|
|
3898
|
-
"type": "
|
|
3897
|
+
"mentionalIdList": {
|
|
3898
|
+
"type": "array",
|
|
3899
|
+
"items": {
|
|
3900
|
+
"type": "string"
|
|
3901
|
+
}
|
|
3899
3902
|
}
|
|
3900
3903
|
}
|
|
3901
3904
|
},
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.packageJson = void 0;
|
|
4
4
|
exports.packageJson = {
|
|
5
5
|
"name": "@juzi/wechaty-grpc",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.22",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -163,8 +163,10 @@ export class PostCommentRequest extends jspb.Message {
|
|
|
163
163
|
getText(): string;
|
|
164
164
|
setText(value: string): void;
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
clearMentionalIdListList(): void;
|
|
167
|
+
getMentionalIdListList(): Array<string>;
|
|
168
|
+
setMentionalIdListList(value: Array<string>): void;
|
|
169
|
+
addMentionalIdList(value: string, index?: number): string;
|
|
168
170
|
|
|
169
171
|
serializeBinary(): Uint8Array;
|
|
170
172
|
toObject(includeInstance?: boolean): PostCommentRequest.AsObject;
|
|
@@ -180,7 +182,7 @@ export namespace PostCommentRequest {
|
|
|
180
182
|
export type AsObject = {
|
|
181
183
|
postId: string,
|
|
182
184
|
text: string,
|
|
183
|
-
|
|
185
|
+
mentionalIdListList: Array<string>,
|
|
184
186
|
}
|
|
185
187
|
}
|
|
186
188
|
|
|
@@ -109,7 +109,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
109
109
|
* @constructor
|
|
110
110
|
*/
|
|
111
111
|
proto.wechaty.puppet.PostCommentRequest = function(opt_data) {
|
|
112
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
112
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.PostCommentRequest.repeatedFields_, null);
|
|
113
113
|
};
|
|
114
114
|
goog.inherits(proto.wechaty.puppet.PostCommentRequest, jspb.Message);
|
|
115
115
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1343,6 +1343,13 @@ proto.wechaty.puppet.PostPayloadServer.prototype.setLike = function(value) {
|
|
|
1343
1343
|
|
|
1344
1344
|
|
|
1345
1345
|
|
|
1346
|
+
/**
|
|
1347
|
+
* List of repeated fields within this message type.
|
|
1348
|
+
* @private {!Array<number>}
|
|
1349
|
+
* @const
|
|
1350
|
+
*/
|
|
1351
|
+
proto.wechaty.puppet.PostCommentRequest.repeatedFields_ = [3];
|
|
1352
|
+
|
|
1346
1353
|
|
|
1347
1354
|
|
|
1348
1355
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1376,7 +1383,7 @@ proto.wechaty.puppet.PostCommentRequest.toObject = function(includeInstance, msg
|
|
|
1376
1383
|
var f, obj = {
|
|
1377
1384
|
postId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1378
1385
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1379
|
-
|
|
1386
|
+
mentionalIdListList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
1380
1387
|
};
|
|
1381
1388
|
|
|
1382
1389
|
if (includeInstance) {
|
|
@@ -1423,7 +1430,7 @@ proto.wechaty.puppet.PostCommentRequest.deserializeBinaryFromReader = function(m
|
|
|
1423
1430
|
break;
|
|
1424
1431
|
case 3:
|
|
1425
1432
|
var value = /** @type {string} */ (reader.readString());
|
|
1426
|
-
msg.
|
|
1433
|
+
msg.addMentionalIdList(value);
|
|
1427
1434
|
break;
|
|
1428
1435
|
default:
|
|
1429
1436
|
reader.skipField();
|
|
@@ -1468,9 +1475,9 @@ proto.wechaty.puppet.PostCommentRequest.serializeBinaryToWriter = function(messa
|
|
|
1468
1475
|
f
|
|
1469
1476
|
);
|
|
1470
1477
|
}
|
|
1471
|
-
f = message.
|
|
1478
|
+
f = message.getMentionalIdListList();
|
|
1472
1479
|
if (f.length > 0) {
|
|
1473
|
-
writer.
|
|
1480
|
+
writer.writeRepeatedString(
|
|
1474
1481
|
3,
|
|
1475
1482
|
f
|
|
1476
1483
|
);
|
|
@@ -1515,20 +1522,39 @@ proto.wechaty.puppet.PostCommentRequest.prototype.setText = function(value) {
|
|
|
1515
1522
|
|
|
1516
1523
|
|
|
1517
1524
|
/**
|
|
1518
|
-
*
|
|
1519
|
-
* @return {string}
|
|
1525
|
+
* repeated string mentional_id_list = 3;
|
|
1526
|
+
* @return {!Array<string>}
|
|
1520
1527
|
*/
|
|
1521
|
-
proto.wechaty.puppet.PostCommentRequest.prototype.
|
|
1522
|
-
return /** @type {string} */ (jspb.Message.
|
|
1528
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.getMentionalIdListList = function() {
|
|
1529
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @param {!Array<string>} value
|
|
1535
|
+
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1536
|
+
*/
|
|
1537
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.setMentionalIdListList = function(value) {
|
|
1538
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
1523
1539
|
};
|
|
1524
1540
|
|
|
1525
1541
|
|
|
1526
1542
|
/**
|
|
1527
1543
|
* @param {string} value
|
|
1544
|
+
* @param {number=} opt_index
|
|
1545
|
+
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1546
|
+
*/
|
|
1547
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.addMentionalIdList = function(value, opt_index) {
|
|
1548
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Clears the list making it empty but non-null.
|
|
1528
1554
|
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1529
1555
|
*/
|
|
1530
|
-
proto.wechaty.puppet.PostCommentRequest.prototype.
|
|
1531
|
-
return
|
|
1556
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.clearMentionalIdListList = function() {
|
|
1557
|
+
return this.setMentionalIdListList([]);
|
|
1532
1558
|
};
|
|
1533
1559
|
|
|
1534
1560
|
|
|
@@ -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.22
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2680,8 +2680,10 @@ definitions:
|
|
|
2680
2680
|
type: string
|
|
2681
2681
|
text:
|
|
2682
2682
|
type: string
|
|
2683
|
-
|
|
2684
|
-
type:
|
|
2683
|
+
mentionalIdList:
|
|
2684
|
+
type: array
|
|
2685
|
+
items:
|
|
2686
|
+
type: string
|
|
2685
2687
|
puppetPostCommentResponse:
|
|
2686
2688
|
type: object
|
|
2687
2689
|
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.22",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3894,8 +3894,11 @@
|
|
|
3894
3894
|
"text": {
|
|
3895
3895
|
"type": "string"
|
|
3896
3896
|
},
|
|
3897
|
-
"
|
|
3898
|
-
"type": "
|
|
3897
|
+
"mentionalIdList": {
|
|
3898
|
+
"type": "array",
|
|
3899
|
+
"items": {
|
|
3900
|
+
"type": "string"
|
|
3901
|
+
}
|
|
3899
3902
|
}
|
|
3900
3903
|
}
|
|
3901
3904
|
},
|
|
@@ -163,8 +163,10 @@ export class PostCommentRequest extends jspb.Message {
|
|
|
163
163
|
getText(): string;
|
|
164
164
|
setText(value: string): void;
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
clearMentionalIdListList(): void;
|
|
167
|
+
getMentionalIdListList(): Array<string>;
|
|
168
|
+
setMentionalIdListList(value: Array<string>): void;
|
|
169
|
+
addMentionalIdList(value: string, index?: number): string;
|
|
168
170
|
|
|
169
171
|
serializeBinary(): Uint8Array;
|
|
170
172
|
toObject(includeInstance?: boolean): PostCommentRequest.AsObject;
|
|
@@ -180,7 +182,7 @@ export namespace PostCommentRequest {
|
|
|
180
182
|
export type AsObject = {
|
|
181
183
|
postId: string,
|
|
182
184
|
text: string,
|
|
183
|
-
|
|
185
|
+
mentionalIdListList: Array<string>,
|
|
184
186
|
}
|
|
185
187
|
}
|
|
186
188
|
|
|
@@ -109,7 +109,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
109
109
|
* @constructor
|
|
110
110
|
*/
|
|
111
111
|
proto.wechaty.puppet.PostCommentRequest = function(opt_data) {
|
|
112
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
112
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.PostCommentRequest.repeatedFields_, null);
|
|
113
113
|
};
|
|
114
114
|
goog.inherits(proto.wechaty.puppet.PostCommentRequest, jspb.Message);
|
|
115
115
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1343,6 +1343,13 @@ proto.wechaty.puppet.PostPayloadServer.prototype.setLike = function(value) {
|
|
|
1343
1343
|
|
|
1344
1344
|
|
|
1345
1345
|
|
|
1346
|
+
/**
|
|
1347
|
+
* List of repeated fields within this message type.
|
|
1348
|
+
* @private {!Array<number>}
|
|
1349
|
+
* @const
|
|
1350
|
+
*/
|
|
1351
|
+
proto.wechaty.puppet.PostCommentRequest.repeatedFields_ = [3];
|
|
1352
|
+
|
|
1346
1353
|
|
|
1347
1354
|
|
|
1348
1355
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1376,7 +1383,7 @@ proto.wechaty.puppet.PostCommentRequest.toObject = function(includeInstance, msg
|
|
|
1376
1383
|
var f, obj = {
|
|
1377
1384
|
postId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1378
1385
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1379
|
-
|
|
1386
|
+
mentionalIdListList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
1380
1387
|
};
|
|
1381
1388
|
|
|
1382
1389
|
if (includeInstance) {
|
|
@@ -1423,7 +1430,7 @@ proto.wechaty.puppet.PostCommentRequest.deserializeBinaryFromReader = function(m
|
|
|
1423
1430
|
break;
|
|
1424
1431
|
case 3:
|
|
1425
1432
|
var value = /** @type {string} */ (reader.readString());
|
|
1426
|
-
msg.
|
|
1433
|
+
msg.addMentionalIdList(value);
|
|
1427
1434
|
break;
|
|
1428
1435
|
default:
|
|
1429
1436
|
reader.skipField();
|
|
@@ -1468,9 +1475,9 @@ proto.wechaty.puppet.PostCommentRequest.serializeBinaryToWriter = function(messa
|
|
|
1468
1475
|
f
|
|
1469
1476
|
);
|
|
1470
1477
|
}
|
|
1471
|
-
f = message.
|
|
1478
|
+
f = message.getMentionalIdListList();
|
|
1472
1479
|
if (f.length > 0) {
|
|
1473
|
-
writer.
|
|
1480
|
+
writer.writeRepeatedString(
|
|
1474
1481
|
3,
|
|
1475
1482
|
f
|
|
1476
1483
|
);
|
|
@@ -1515,20 +1522,39 @@ proto.wechaty.puppet.PostCommentRequest.prototype.setText = function(value) {
|
|
|
1515
1522
|
|
|
1516
1523
|
|
|
1517
1524
|
/**
|
|
1518
|
-
*
|
|
1519
|
-
* @return {string}
|
|
1525
|
+
* repeated string mentional_id_list = 3;
|
|
1526
|
+
* @return {!Array<string>}
|
|
1520
1527
|
*/
|
|
1521
|
-
proto.wechaty.puppet.PostCommentRequest.prototype.
|
|
1522
|
-
return /** @type {string} */ (jspb.Message.
|
|
1528
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.getMentionalIdListList = function() {
|
|
1529
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @param {!Array<string>} value
|
|
1535
|
+
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1536
|
+
*/
|
|
1537
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.setMentionalIdListList = function(value) {
|
|
1538
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
1523
1539
|
};
|
|
1524
1540
|
|
|
1525
1541
|
|
|
1526
1542
|
/**
|
|
1527
1543
|
* @param {string} value
|
|
1544
|
+
* @param {number=} opt_index
|
|
1545
|
+
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1546
|
+
*/
|
|
1547
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.addMentionalIdList = function(value, opt_index) {
|
|
1548
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Clears the list making it empty but non-null.
|
|
1528
1554
|
* @return {!proto.wechaty.puppet.PostCommentRequest} returns this
|
|
1529
1555
|
*/
|
|
1530
|
-
proto.wechaty.puppet.PostCommentRequest.prototype.
|
|
1531
|
-
return
|
|
1556
|
+
proto.wechaty.puppet.PostCommentRequest.prototype.clearMentionalIdListList = function() {
|
|
1557
|
+
return this.setMentionalIdListList([]);
|
|
1532
1558
|
};
|
|
1533
1559
|
|
|
1534
1560
|
|
|
@@ -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.22
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2680,8 +2680,10 @@ definitions:
|
|
|
2680
2680
|
type: string
|
|
2681
2681
|
text:
|
|
2682
2682
|
type: string
|
|
2683
|
-
|
|
2684
|
-
type:
|
|
2683
|
+
mentionalIdList:
|
|
2684
|
+
type: array
|
|
2685
|
+
items:
|
|
2686
|
+
type: string
|
|
2685
2687
|
puppetPostCommentResponse:
|
|
2686
2688
|
type: object
|
|
2687
2689
|
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.22",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3894,8 +3894,11 @@
|
|
|
3894
3894
|
"text": {
|
|
3895
3895
|
"type": "string"
|
|
3896
3896
|
},
|
|
3897
|
-
"
|
|
3898
|
-
"type": "
|
|
3897
|
+
"mentionalIdList": {
|
|
3898
|
+
"type": "array",
|
|
3899
|
+
"items": {
|
|
3900
|
+
"type": "string"
|
|
3901
|
+
}
|
|
3899
3902
|
}
|
|
3900
3903
|
}
|
|
3901
3904
|
},
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED