@juzi/wechaty-grpc 1.0.1 → 1.0.4
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/message_pb.d.ts +23 -8
- package/dist/cjs/out/wechaty/puppet/message_pb.js +109 -10
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +11 -7
- package/dist/cjs/out/wechaty/puppet.swagger.json +15 -7
- package/dist/cjs/proto/wechaty/puppet/message.proto +13 -11
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +23 -8
- package/dist/esm/out/wechaty/puppet/message_pb.js +109 -10
- package/dist/esm/out/wechaty/puppet.openapi.yaml +11 -7
- package/dist/esm/out/wechaty/puppet.swagger.json +15 -7
- package/dist/esm/proto/wechaty/puppet/message.proto +13 -11
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/message_pb.d.ts +23 -8
- package/out/wechaty/puppet/message_pb.js +109 -10
- package/out/wechaty/puppet.openapi.yaml +11 -7
- package/out/wechaty/puppet.swagger.json +15 -7
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -65,6 +65,11 @@ export class MessagePayloadResponse extends jspb.Message {
|
|
|
65
65
|
getReceiveTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
66
66
|
setReceiveTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
67
67
|
|
|
68
|
+
hasQuoteId(): boolean;
|
|
69
|
+
clearQuoteId(): void;
|
|
70
|
+
getQuoteId(): string;
|
|
71
|
+
setQuoteId(value: string): void;
|
|
72
|
+
|
|
68
73
|
serializeBinary(): Uint8Array;
|
|
69
74
|
toObject(includeInstance?: boolean): MessagePayloadResponse.AsObject;
|
|
70
75
|
static toObject(includeInstance: boolean, msg: MessagePayloadResponse): MessagePayloadResponse.AsObject;
|
|
@@ -87,6 +92,7 @@ export namespace MessagePayloadResponse {
|
|
|
87
92
|
listenerId: string,
|
|
88
93
|
mentionIdsList: Array<string>,
|
|
89
94
|
receiveTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
95
|
+
quoteId: string,
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
|
|
@@ -460,6 +466,11 @@ export class MessageSendTextRequest extends jspb.Message {
|
|
|
460
466
|
setMentionalIdsList(value: Array<string>): void;
|
|
461
467
|
addMentionalIds(value: string, index?: number): string;
|
|
462
468
|
|
|
469
|
+
hasQuoteId(): boolean;
|
|
470
|
+
clearQuoteId(): void;
|
|
471
|
+
getQuoteId(): string;
|
|
472
|
+
setQuoteId(value: string): void;
|
|
473
|
+
|
|
463
474
|
serializeBinary(): Uint8Array;
|
|
464
475
|
toObject(includeInstance?: boolean): MessageSendTextRequest.AsObject;
|
|
465
476
|
static toObject(includeInstance: boolean, msg: MessageSendTextRequest): MessageSendTextRequest.AsObject;
|
|
@@ -475,6 +486,7 @@ export namespace MessageSendTextRequest {
|
|
|
475
486
|
conversationId: string,
|
|
476
487
|
text: string,
|
|
477
488
|
mentionalIdsList: Array<string>,
|
|
489
|
+
quoteId: string,
|
|
478
490
|
}
|
|
479
491
|
}
|
|
480
492
|
|
|
@@ -845,18 +857,21 @@ export interface MessageTypeMap {
|
|
|
845
857
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
846
858
|
MESSAGE_TYPE_AUDIO: 2;
|
|
847
859
|
MESSAGE_TYPE_CONTACT: 3;
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
860
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4;
|
|
861
|
+
MESSAGE_TYPE_EMOTCION: 5;
|
|
862
|
+
MESSAGE_TYPE_IMAGE: 6;
|
|
863
|
+
MESSAGE_TYPE_TEXT: 7;
|
|
864
|
+
MESSAGE_TYPE_LOCATION: 8;
|
|
865
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9;
|
|
866
|
+
MESSAGE_TYPE_GROUP_NOTE: 10;
|
|
855
867
|
MESSAGE_TYPE_TRANSFER: 11;
|
|
856
868
|
MESSAGE_TYPE_RED_ENVELOPE: 12;
|
|
857
869
|
MESSAGE_TYPE_RECALLED: 13;
|
|
858
870
|
MESSAGE_TYPE_URL: 14;
|
|
859
|
-
|
|
871
|
+
MESSAGE_TYPE_VIDEO: 15;
|
|
872
|
+
MESSAGE_TYPE_POST: 16;
|
|
873
|
+
MESSAGE_TYPE_CHANNEL: 17;
|
|
874
|
+
MESSAGE_TYPE_SYSTEM: 18;
|
|
860
875
|
}
|
|
861
876
|
|
|
862
877
|
export const MessageType: MessageTypeMap;
|
|
@@ -956,7 +956,8 @@ proto.wechaty.puppet.MessagePayloadResponse.toObject = function(includeInstance,
|
|
|
956
956
|
roomId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
957
957
|
listenerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
958
958
|
mentionIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
959
|
-
receiveTime: (f = msg.getReceiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
959
|
+
receiveTime: (f = msg.getReceiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
960
|
+
quoteId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
960
961
|
};
|
|
961
962
|
|
|
962
963
|
if (includeInstance) {
|
|
@@ -1034,6 +1035,10 @@ proto.wechaty.puppet.MessagePayloadResponse.deserializeBinaryFromReader = functi
|
|
|
1034
1035
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1035
1036
|
msg.setReceiveTime(value);
|
|
1036
1037
|
break;
|
|
1038
|
+
case 11:
|
|
1039
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1040
|
+
msg.setQuoteId(value);
|
|
1041
|
+
break;
|
|
1037
1042
|
default:
|
|
1038
1043
|
reader.skipField();
|
|
1039
1044
|
break;
|
|
@@ -1134,6 +1139,13 @@ proto.wechaty.puppet.MessagePayloadResponse.serializeBinaryToWriter = function(m
|
|
|
1134
1139
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1135
1140
|
);
|
|
1136
1141
|
}
|
|
1142
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
1143
|
+
if (f != null) {
|
|
1144
|
+
writer.writeString(
|
|
1145
|
+
11,
|
|
1146
|
+
f
|
|
1147
|
+
);
|
|
1148
|
+
}
|
|
1137
1149
|
};
|
|
1138
1150
|
|
|
1139
1151
|
|
|
@@ -1355,6 +1367,42 @@ proto.wechaty.puppet.MessagePayloadResponse.prototype.hasReceiveTime = function(
|
|
|
1355
1367
|
};
|
|
1356
1368
|
|
|
1357
1369
|
|
|
1370
|
+
/**
|
|
1371
|
+
* optional string quote_id = 11;
|
|
1372
|
+
* @return {string}
|
|
1373
|
+
*/
|
|
1374
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.getQuoteId = function() {
|
|
1375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* @param {string} value
|
|
1381
|
+
* @return {!proto.wechaty.puppet.MessagePayloadResponse} returns this
|
|
1382
|
+
*/
|
|
1383
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.setQuoteId = function(value) {
|
|
1384
|
+
return jspb.Message.setField(this, 11, value);
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Clears the field making it undefined.
|
|
1390
|
+
* @return {!proto.wechaty.puppet.MessagePayloadResponse} returns this
|
|
1391
|
+
*/
|
|
1392
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.clearQuoteId = function() {
|
|
1393
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Returns whether this field is set.
|
|
1399
|
+
* @return {boolean}
|
|
1400
|
+
*/
|
|
1401
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.hasQuoteId = function() {
|
|
1402
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
|
|
1358
1406
|
|
|
1359
1407
|
|
|
1360
1408
|
|
|
@@ -3791,7 +3839,8 @@ proto.wechaty.puppet.MessageSendTextRequest.toObject = function(includeInstance,
|
|
|
3791
3839
|
var f, obj = {
|
|
3792
3840
|
conversationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3793
3841
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3794
|
-
mentionalIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
3842
|
+
mentionalIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
3843
|
+
quoteId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3795
3844
|
};
|
|
3796
3845
|
|
|
3797
3846
|
if (includeInstance) {
|
|
@@ -3840,6 +3889,10 @@ proto.wechaty.puppet.MessageSendTextRequest.deserializeBinaryFromReader = functi
|
|
|
3840
3889
|
var value = /** @type {string} */ (reader.readString());
|
|
3841
3890
|
msg.addMentionalIds(value);
|
|
3842
3891
|
break;
|
|
3892
|
+
case 4:
|
|
3893
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3894
|
+
msg.setQuoteId(value);
|
|
3895
|
+
break;
|
|
3843
3896
|
default:
|
|
3844
3897
|
reader.skipField();
|
|
3845
3898
|
break;
|
|
@@ -3890,6 +3943,13 @@ proto.wechaty.puppet.MessageSendTextRequest.serializeBinaryToWriter = function(m
|
|
|
3890
3943
|
f
|
|
3891
3944
|
);
|
|
3892
3945
|
}
|
|
3946
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
3947
|
+
if (f != null) {
|
|
3948
|
+
writer.writeString(
|
|
3949
|
+
4,
|
|
3950
|
+
f
|
|
3951
|
+
);
|
|
3952
|
+
}
|
|
3893
3953
|
};
|
|
3894
3954
|
|
|
3895
3955
|
|
|
@@ -3966,6 +4026,42 @@ proto.wechaty.puppet.MessageSendTextRequest.prototype.clearMentionalIdsList = fu
|
|
|
3966
4026
|
};
|
|
3967
4027
|
|
|
3968
4028
|
|
|
4029
|
+
/**
|
|
4030
|
+
* optional string quote_id = 4;
|
|
4031
|
+
* @return {string}
|
|
4032
|
+
*/
|
|
4033
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.getQuoteId = function() {
|
|
4034
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
|
|
4038
|
+
/**
|
|
4039
|
+
* @param {string} value
|
|
4040
|
+
* @return {!proto.wechaty.puppet.MessageSendTextRequest} returns this
|
|
4041
|
+
*/
|
|
4042
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.setQuoteId = function(value) {
|
|
4043
|
+
return jspb.Message.setField(this, 4, value);
|
|
4044
|
+
};
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
/**
|
|
4048
|
+
* Clears the field making it undefined.
|
|
4049
|
+
* @return {!proto.wechaty.puppet.MessageSendTextRequest} returns this
|
|
4050
|
+
*/
|
|
4051
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.clearQuoteId = function() {
|
|
4052
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4053
|
+
};
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
/**
|
|
4057
|
+
* Returns whether this field is set.
|
|
4058
|
+
* @return {boolean}
|
|
4059
|
+
*/
|
|
4060
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.hasQuoteId = function() {
|
|
4061
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4062
|
+
};
|
|
4063
|
+
|
|
4064
|
+
|
|
3969
4065
|
|
|
3970
4066
|
|
|
3971
4067
|
|
|
@@ -6443,18 +6539,21 @@ proto.wechaty.puppet.MessageType = {
|
|
|
6443
6539
|
MESSAGE_TYPE_ATTACHMENT: 1,
|
|
6444
6540
|
MESSAGE_TYPE_AUDIO: 2,
|
|
6445
6541
|
MESSAGE_TYPE_CONTACT: 3,
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6542
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4,
|
|
6543
|
+
MESSAGE_TYPE_EMOTCION: 5,
|
|
6544
|
+
MESSAGE_TYPE_IMAGE: 6,
|
|
6545
|
+
MESSAGE_TYPE_TEXT: 7,
|
|
6546
|
+
MESSAGE_TYPE_LOCATION: 8,
|
|
6547
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9,
|
|
6548
|
+
MESSAGE_TYPE_GROUP_NOTE: 10,
|
|
6453
6549
|
MESSAGE_TYPE_TRANSFER: 11,
|
|
6454
6550
|
MESSAGE_TYPE_RED_ENVELOPE: 12,
|
|
6455
6551
|
MESSAGE_TYPE_RECALLED: 13,
|
|
6456
6552
|
MESSAGE_TYPE_URL: 14,
|
|
6457
|
-
|
|
6553
|
+
MESSAGE_TYPE_VIDEO: 15,
|
|
6554
|
+
MESSAGE_TYPE_POST: 16,
|
|
6555
|
+
MESSAGE_TYPE_CHANNEL: 17,
|
|
6556
|
+
MESSAGE_TYPE_SYSTEM: 18
|
|
6458
6557
|
};
|
|
6459
6558
|
|
|
6460
6559
|
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.4
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -559,9 +559,8 @@ paths:
|
|
|
559
559
|
type: array
|
|
560
560
|
items:
|
|
561
561
|
type: string
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
https://github.com/wechaty/grpc/issues/99
|
|
562
|
+
quoteId:
|
|
563
|
+
type: string
|
|
565
564
|
tags:
|
|
566
565
|
- Puppet
|
|
567
566
|
'/conversations/{conversationId}/url-link':
|
|
@@ -2093,6 +2092,8 @@ definitions:
|
|
|
2093
2092
|
receiveTime:
|
|
2094
2093
|
type: string
|
|
2095
2094
|
format: date-time
|
|
2095
|
+
quoteId:
|
|
2096
|
+
type: string
|
|
2096
2097
|
puppetMessageRecallResponse:
|
|
2097
2098
|
type: object
|
|
2098
2099
|
properties:
|
|
@@ -2210,18 +2211,21 @@ definitions:
|
|
|
2210
2211
|
- MESSAGE_TYPE_ATTACHMENT
|
|
2211
2212
|
- MESSAGE_TYPE_AUDIO
|
|
2212
2213
|
- MESSAGE_TYPE_CONTACT
|
|
2213
|
-
-
|
|
2214
|
+
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2215
|
+
- MESSAGE_TYPE_EMOTCION
|
|
2214
2216
|
- MESSAGE_TYPE_IMAGE
|
|
2215
2217
|
- MESSAGE_TYPE_TEXT
|
|
2216
|
-
- MESSAGE_TYPE_VIDEO
|
|
2217
|
-
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2218
2218
|
- MESSAGE_TYPE_LOCATION
|
|
2219
2219
|
- MESSAGE_TYPE_MINI_PROGRAM
|
|
2220
|
+
- MESSAGE_TYPE_GROUP_NOTE
|
|
2220
2221
|
- MESSAGE_TYPE_TRANSFER
|
|
2221
2222
|
- MESSAGE_TYPE_RED_ENVELOPE
|
|
2222
2223
|
- MESSAGE_TYPE_RECALLED
|
|
2223
2224
|
- MESSAGE_TYPE_URL
|
|
2225
|
+
- MESSAGE_TYPE_VIDEO
|
|
2226
|
+
- MESSAGE_TYPE_POST
|
|
2224
2227
|
- MESSAGE_TYPE_CHANNEL
|
|
2228
|
+
- MESSAGE_TYPE_SYSTEM
|
|
2225
2229
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
2226
2230
|
puppetMessageUrlResponse:
|
|
2227
2231
|
type: object
|
|
@@ -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.4",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -829,8 +829,10 @@
|
|
|
829
829
|
"type": "array",
|
|
830
830
|
"items": {
|
|
831
831
|
"type": "string"
|
|
832
|
-
}
|
|
833
|
-
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"quoteId": {
|
|
835
|
+
"type": "string"
|
|
834
836
|
}
|
|
835
837
|
}
|
|
836
838
|
}
|
|
@@ -3048,6 +3050,9 @@
|
|
|
3048
3050
|
"receiveTime": {
|
|
3049
3051
|
"type": "string",
|
|
3050
3052
|
"format": "date-time"
|
|
3053
|
+
},
|
|
3054
|
+
"quoteId": {
|
|
3055
|
+
"type": "string"
|
|
3051
3056
|
}
|
|
3052
3057
|
}
|
|
3053
3058
|
},
|
|
@@ -3178,18 +3183,21 @@
|
|
|
3178
3183
|
"MESSAGE_TYPE_ATTACHMENT",
|
|
3179
3184
|
"MESSAGE_TYPE_AUDIO",
|
|
3180
3185
|
"MESSAGE_TYPE_CONTACT",
|
|
3181
|
-
"
|
|
3186
|
+
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3187
|
+
"MESSAGE_TYPE_EMOTCION",
|
|
3182
3188
|
"MESSAGE_TYPE_IMAGE",
|
|
3183
3189
|
"MESSAGE_TYPE_TEXT",
|
|
3184
|
-
"MESSAGE_TYPE_VIDEO",
|
|
3185
|
-
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3186
3190
|
"MESSAGE_TYPE_LOCATION",
|
|
3187
3191
|
"MESSAGE_TYPE_MINI_PROGRAM",
|
|
3192
|
+
"MESSAGE_TYPE_GROUP_NOTE",
|
|
3188
3193
|
"MESSAGE_TYPE_TRANSFER",
|
|
3189
3194
|
"MESSAGE_TYPE_RED_ENVELOPE",
|
|
3190
3195
|
"MESSAGE_TYPE_RECALLED",
|
|
3191
3196
|
"MESSAGE_TYPE_URL",
|
|
3192
|
-
"
|
|
3197
|
+
"MESSAGE_TYPE_VIDEO",
|
|
3198
|
+
"MESSAGE_TYPE_POST",
|
|
3199
|
+
"MESSAGE_TYPE_CHANNEL",
|
|
3200
|
+
"MESSAGE_TYPE_SYSTEM"
|
|
3193
3201
|
],
|
|
3194
3202
|
"default": "MESSAGE_TYPE_UNSPECIFIED"
|
|
3195
3203
|
},
|
|
@@ -27,18 +27,21 @@ enum MessageType {
|
|
|
27
27
|
MESSAGE_TYPE_ATTACHMENT = 1;
|
|
28
28
|
MESSAGE_TYPE_AUDIO = 2;
|
|
29
29
|
MESSAGE_TYPE_CONTACT = 3;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
MESSAGE_TYPE_CHAT_HISTORY = 4;
|
|
31
|
+
MESSAGE_TYPE_EMOTCION = 5;
|
|
32
|
+
MESSAGE_TYPE_IMAGE = 6;
|
|
33
|
+
MESSAGE_TYPE_TEXT = 7;
|
|
34
|
+
MESSAGE_TYPE_LOCATION = 8;
|
|
35
|
+
MESSAGE_TYPE_MINI_PROGRAM = 9;
|
|
36
|
+
MESSAGE_TYPE_GROUP_NOTE = 10;
|
|
37
37
|
MESSAGE_TYPE_TRANSFER = 11;
|
|
38
38
|
MESSAGE_TYPE_RED_ENVELOPE = 12;
|
|
39
39
|
MESSAGE_TYPE_RECALLED = 13;
|
|
40
40
|
MESSAGE_TYPE_URL = 14;
|
|
41
|
-
|
|
41
|
+
MESSAGE_TYPE_VIDEO = 15;
|
|
42
|
+
MESSAGE_TYPE_POST = 16;
|
|
43
|
+
MESSAGE_TYPE_CHANNEL = 17;
|
|
44
|
+
MESSAGE_TYPE_SYSTEM = 18;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
message MessagePayloadRequest {
|
|
@@ -59,6 +62,7 @@ message MessagePayloadResponse {
|
|
|
59
62
|
string listener_id = 8;
|
|
60
63
|
repeated string mention_ids = 9;
|
|
61
64
|
google.protobuf.Timestamp receive_time = 10;
|
|
65
|
+
optional string quote_id = 11;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
message MessageImageRequest {
|
|
@@ -145,10 +149,8 @@ message MessageSendFileResponse {
|
|
|
145
149
|
message MessageSendTextRequest {
|
|
146
150
|
string conversation_id = 1;
|
|
147
151
|
string text = 2;
|
|
148
|
-
|
|
149
|
-
// Huan(202011) FIXME: Issue #99
|
|
150
|
-
// https://github.com/wechaty/grpc/issues/99
|
|
151
152
|
repeated string mentional_ids = 3;
|
|
153
|
+
optional string quote_id = 4;
|
|
152
154
|
}
|
|
153
155
|
message MessageSendTextResponse {
|
|
154
156
|
/**
|
|
@@ -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.4",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -65,6 +65,11 @@ export class MessagePayloadResponse extends jspb.Message {
|
|
|
65
65
|
getReceiveTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
66
66
|
setReceiveTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
67
67
|
|
|
68
|
+
hasQuoteId(): boolean;
|
|
69
|
+
clearQuoteId(): void;
|
|
70
|
+
getQuoteId(): string;
|
|
71
|
+
setQuoteId(value: string): void;
|
|
72
|
+
|
|
68
73
|
serializeBinary(): Uint8Array;
|
|
69
74
|
toObject(includeInstance?: boolean): MessagePayloadResponse.AsObject;
|
|
70
75
|
static toObject(includeInstance: boolean, msg: MessagePayloadResponse): MessagePayloadResponse.AsObject;
|
|
@@ -87,6 +92,7 @@ export namespace MessagePayloadResponse {
|
|
|
87
92
|
listenerId: string,
|
|
88
93
|
mentionIdsList: Array<string>,
|
|
89
94
|
receiveTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
95
|
+
quoteId: string,
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
|
|
@@ -460,6 +466,11 @@ export class MessageSendTextRequest extends jspb.Message {
|
|
|
460
466
|
setMentionalIdsList(value: Array<string>): void;
|
|
461
467
|
addMentionalIds(value: string, index?: number): string;
|
|
462
468
|
|
|
469
|
+
hasQuoteId(): boolean;
|
|
470
|
+
clearQuoteId(): void;
|
|
471
|
+
getQuoteId(): string;
|
|
472
|
+
setQuoteId(value: string): void;
|
|
473
|
+
|
|
463
474
|
serializeBinary(): Uint8Array;
|
|
464
475
|
toObject(includeInstance?: boolean): MessageSendTextRequest.AsObject;
|
|
465
476
|
static toObject(includeInstance: boolean, msg: MessageSendTextRequest): MessageSendTextRequest.AsObject;
|
|
@@ -475,6 +486,7 @@ export namespace MessageSendTextRequest {
|
|
|
475
486
|
conversationId: string,
|
|
476
487
|
text: string,
|
|
477
488
|
mentionalIdsList: Array<string>,
|
|
489
|
+
quoteId: string,
|
|
478
490
|
}
|
|
479
491
|
}
|
|
480
492
|
|
|
@@ -845,18 +857,21 @@ export interface MessageTypeMap {
|
|
|
845
857
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
846
858
|
MESSAGE_TYPE_AUDIO: 2;
|
|
847
859
|
MESSAGE_TYPE_CONTACT: 3;
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
860
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4;
|
|
861
|
+
MESSAGE_TYPE_EMOTCION: 5;
|
|
862
|
+
MESSAGE_TYPE_IMAGE: 6;
|
|
863
|
+
MESSAGE_TYPE_TEXT: 7;
|
|
864
|
+
MESSAGE_TYPE_LOCATION: 8;
|
|
865
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9;
|
|
866
|
+
MESSAGE_TYPE_GROUP_NOTE: 10;
|
|
855
867
|
MESSAGE_TYPE_TRANSFER: 11;
|
|
856
868
|
MESSAGE_TYPE_RED_ENVELOPE: 12;
|
|
857
869
|
MESSAGE_TYPE_RECALLED: 13;
|
|
858
870
|
MESSAGE_TYPE_URL: 14;
|
|
859
|
-
|
|
871
|
+
MESSAGE_TYPE_VIDEO: 15;
|
|
872
|
+
MESSAGE_TYPE_POST: 16;
|
|
873
|
+
MESSAGE_TYPE_CHANNEL: 17;
|
|
874
|
+
MESSAGE_TYPE_SYSTEM: 18;
|
|
860
875
|
}
|
|
861
876
|
|
|
862
877
|
export const MessageType: MessageTypeMap;
|
|
@@ -956,7 +956,8 @@ proto.wechaty.puppet.MessagePayloadResponse.toObject = function(includeInstance,
|
|
|
956
956
|
roomId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
957
957
|
listenerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
958
958
|
mentionIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
959
|
-
receiveTime: (f = msg.getReceiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
959
|
+
receiveTime: (f = msg.getReceiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
960
|
+
quoteId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
960
961
|
};
|
|
961
962
|
|
|
962
963
|
if (includeInstance) {
|
|
@@ -1034,6 +1035,10 @@ proto.wechaty.puppet.MessagePayloadResponse.deserializeBinaryFromReader = functi
|
|
|
1034
1035
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1035
1036
|
msg.setReceiveTime(value);
|
|
1036
1037
|
break;
|
|
1038
|
+
case 11:
|
|
1039
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1040
|
+
msg.setQuoteId(value);
|
|
1041
|
+
break;
|
|
1037
1042
|
default:
|
|
1038
1043
|
reader.skipField();
|
|
1039
1044
|
break;
|
|
@@ -1134,6 +1139,13 @@ proto.wechaty.puppet.MessagePayloadResponse.serializeBinaryToWriter = function(m
|
|
|
1134
1139
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1135
1140
|
);
|
|
1136
1141
|
}
|
|
1142
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
1143
|
+
if (f != null) {
|
|
1144
|
+
writer.writeString(
|
|
1145
|
+
11,
|
|
1146
|
+
f
|
|
1147
|
+
);
|
|
1148
|
+
}
|
|
1137
1149
|
};
|
|
1138
1150
|
|
|
1139
1151
|
|
|
@@ -1355,6 +1367,42 @@ proto.wechaty.puppet.MessagePayloadResponse.prototype.hasReceiveTime = function(
|
|
|
1355
1367
|
};
|
|
1356
1368
|
|
|
1357
1369
|
|
|
1370
|
+
/**
|
|
1371
|
+
* optional string quote_id = 11;
|
|
1372
|
+
* @return {string}
|
|
1373
|
+
*/
|
|
1374
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.getQuoteId = function() {
|
|
1375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* @param {string} value
|
|
1381
|
+
* @return {!proto.wechaty.puppet.MessagePayloadResponse} returns this
|
|
1382
|
+
*/
|
|
1383
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.setQuoteId = function(value) {
|
|
1384
|
+
return jspb.Message.setField(this, 11, value);
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Clears the field making it undefined.
|
|
1390
|
+
* @return {!proto.wechaty.puppet.MessagePayloadResponse} returns this
|
|
1391
|
+
*/
|
|
1392
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.clearQuoteId = function() {
|
|
1393
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Returns whether this field is set.
|
|
1399
|
+
* @return {boolean}
|
|
1400
|
+
*/
|
|
1401
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.hasQuoteId = function() {
|
|
1402
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
|
|
1358
1406
|
|
|
1359
1407
|
|
|
1360
1408
|
|
|
@@ -3791,7 +3839,8 @@ proto.wechaty.puppet.MessageSendTextRequest.toObject = function(includeInstance,
|
|
|
3791
3839
|
var f, obj = {
|
|
3792
3840
|
conversationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3793
3841
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3794
|
-
mentionalIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
3842
|
+
mentionalIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
3843
|
+
quoteId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3795
3844
|
};
|
|
3796
3845
|
|
|
3797
3846
|
if (includeInstance) {
|
|
@@ -3840,6 +3889,10 @@ proto.wechaty.puppet.MessageSendTextRequest.deserializeBinaryFromReader = functi
|
|
|
3840
3889
|
var value = /** @type {string} */ (reader.readString());
|
|
3841
3890
|
msg.addMentionalIds(value);
|
|
3842
3891
|
break;
|
|
3892
|
+
case 4:
|
|
3893
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3894
|
+
msg.setQuoteId(value);
|
|
3895
|
+
break;
|
|
3843
3896
|
default:
|
|
3844
3897
|
reader.skipField();
|
|
3845
3898
|
break;
|
|
@@ -3890,6 +3943,13 @@ proto.wechaty.puppet.MessageSendTextRequest.serializeBinaryToWriter = function(m
|
|
|
3890
3943
|
f
|
|
3891
3944
|
);
|
|
3892
3945
|
}
|
|
3946
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
3947
|
+
if (f != null) {
|
|
3948
|
+
writer.writeString(
|
|
3949
|
+
4,
|
|
3950
|
+
f
|
|
3951
|
+
);
|
|
3952
|
+
}
|
|
3893
3953
|
};
|
|
3894
3954
|
|
|
3895
3955
|
|
|
@@ -3966,6 +4026,42 @@ proto.wechaty.puppet.MessageSendTextRequest.prototype.clearMentionalIdsList = fu
|
|
|
3966
4026
|
};
|
|
3967
4027
|
|
|
3968
4028
|
|
|
4029
|
+
/**
|
|
4030
|
+
* optional string quote_id = 4;
|
|
4031
|
+
* @return {string}
|
|
4032
|
+
*/
|
|
4033
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.getQuoteId = function() {
|
|
4034
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
|
|
4038
|
+
/**
|
|
4039
|
+
* @param {string} value
|
|
4040
|
+
* @return {!proto.wechaty.puppet.MessageSendTextRequest} returns this
|
|
4041
|
+
*/
|
|
4042
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.setQuoteId = function(value) {
|
|
4043
|
+
return jspb.Message.setField(this, 4, value);
|
|
4044
|
+
};
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
/**
|
|
4048
|
+
* Clears the field making it undefined.
|
|
4049
|
+
* @return {!proto.wechaty.puppet.MessageSendTextRequest} returns this
|
|
4050
|
+
*/
|
|
4051
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.clearQuoteId = function() {
|
|
4052
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4053
|
+
};
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
/**
|
|
4057
|
+
* Returns whether this field is set.
|
|
4058
|
+
* @return {boolean}
|
|
4059
|
+
*/
|
|
4060
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.hasQuoteId = function() {
|
|
4061
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4062
|
+
};
|
|
4063
|
+
|
|
4064
|
+
|
|
3969
4065
|
|
|
3970
4066
|
|
|
3971
4067
|
|
|
@@ -6443,18 +6539,21 @@ proto.wechaty.puppet.MessageType = {
|
|
|
6443
6539
|
MESSAGE_TYPE_ATTACHMENT: 1,
|
|
6444
6540
|
MESSAGE_TYPE_AUDIO: 2,
|
|
6445
6541
|
MESSAGE_TYPE_CONTACT: 3,
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6542
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4,
|
|
6543
|
+
MESSAGE_TYPE_EMOTCION: 5,
|
|
6544
|
+
MESSAGE_TYPE_IMAGE: 6,
|
|
6545
|
+
MESSAGE_TYPE_TEXT: 7,
|
|
6546
|
+
MESSAGE_TYPE_LOCATION: 8,
|
|
6547
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9,
|
|
6548
|
+
MESSAGE_TYPE_GROUP_NOTE: 10,
|
|
6453
6549
|
MESSAGE_TYPE_TRANSFER: 11,
|
|
6454
6550
|
MESSAGE_TYPE_RED_ENVELOPE: 12,
|
|
6455
6551
|
MESSAGE_TYPE_RECALLED: 13,
|
|
6456
6552
|
MESSAGE_TYPE_URL: 14,
|
|
6457
|
-
|
|
6553
|
+
MESSAGE_TYPE_VIDEO: 15,
|
|
6554
|
+
MESSAGE_TYPE_POST: 16,
|
|
6555
|
+
MESSAGE_TYPE_CHANNEL: 17,
|
|
6556
|
+
MESSAGE_TYPE_SYSTEM: 18
|
|
6458
6557
|
};
|
|
6459
6558
|
|
|
6460
6559
|
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.4
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -559,9 +559,8 @@ paths:
|
|
|
559
559
|
type: array
|
|
560
560
|
items:
|
|
561
561
|
type: string
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
https://github.com/wechaty/grpc/issues/99
|
|
562
|
+
quoteId:
|
|
563
|
+
type: string
|
|
565
564
|
tags:
|
|
566
565
|
- Puppet
|
|
567
566
|
'/conversations/{conversationId}/url-link':
|
|
@@ -2093,6 +2092,8 @@ definitions:
|
|
|
2093
2092
|
receiveTime:
|
|
2094
2093
|
type: string
|
|
2095
2094
|
format: date-time
|
|
2095
|
+
quoteId:
|
|
2096
|
+
type: string
|
|
2096
2097
|
puppetMessageRecallResponse:
|
|
2097
2098
|
type: object
|
|
2098
2099
|
properties:
|
|
@@ -2210,18 +2211,21 @@ definitions:
|
|
|
2210
2211
|
- MESSAGE_TYPE_ATTACHMENT
|
|
2211
2212
|
- MESSAGE_TYPE_AUDIO
|
|
2212
2213
|
- MESSAGE_TYPE_CONTACT
|
|
2213
|
-
-
|
|
2214
|
+
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2215
|
+
- MESSAGE_TYPE_EMOTCION
|
|
2214
2216
|
- MESSAGE_TYPE_IMAGE
|
|
2215
2217
|
- MESSAGE_TYPE_TEXT
|
|
2216
|
-
- MESSAGE_TYPE_VIDEO
|
|
2217
|
-
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2218
2218
|
- MESSAGE_TYPE_LOCATION
|
|
2219
2219
|
- MESSAGE_TYPE_MINI_PROGRAM
|
|
2220
|
+
- MESSAGE_TYPE_GROUP_NOTE
|
|
2220
2221
|
- MESSAGE_TYPE_TRANSFER
|
|
2221
2222
|
- MESSAGE_TYPE_RED_ENVELOPE
|
|
2222
2223
|
- MESSAGE_TYPE_RECALLED
|
|
2223
2224
|
- MESSAGE_TYPE_URL
|
|
2225
|
+
- MESSAGE_TYPE_VIDEO
|
|
2226
|
+
- MESSAGE_TYPE_POST
|
|
2224
2227
|
- MESSAGE_TYPE_CHANNEL
|
|
2228
|
+
- MESSAGE_TYPE_SYSTEM
|
|
2225
2229
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
2226
2230
|
puppetMessageUrlResponse:
|
|
2227
2231
|
type: object
|
|
@@ -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.4",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -829,8 +829,10 @@
|
|
|
829
829
|
"type": "array",
|
|
830
830
|
"items": {
|
|
831
831
|
"type": "string"
|
|
832
|
-
}
|
|
833
|
-
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"quoteId": {
|
|
835
|
+
"type": "string"
|
|
834
836
|
}
|
|
835
837
|
}
|
|
836
838
|
}
|
|
@@ -3048,6 +3050,9 @@
|
|
|
3048
3050
|
"receiveTime": {
|
|
3049
3051
|
"type": "string",
|
|
3050
3052
|
"format": "date-time"
|
|
3053
|
+
},
|
|
3054
|
+
"quoteId": {
|
|
3055
|
+
"type": "string"
|
|
3051
3056
|
}
|
|
3052
3057
|
}
|
|
3053
3058
|
},
|
|
@@ -3178,18 +3183,21 @@
|
|
|
3178
3183
|
"MESSAGE_TYPE_ATTACHMENT",
|
|
3179
3184
|
"MESSAGE_TYPE_AUDIO",
|
|
3180
3185
|
"MESSAGE_TYPE_CONTACT",
|
|
3181
|
-
"
|
|
3186
|
+
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3187
|
+
"MESSAGE_TYPE_EMOTCION",
|
|
3182
3188
|
"MESSAGE_TYPE_IMAGE",
|
|
3183
3189
|
"MESSAGE_TYPE_TEXT",
|
|
3184
|
-
"MESSAGE_TYPE_VIDEO",
|
|
3185
|
-
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3186
3190
|
"MESSAGE_TYPE_LOCATION",
|
|
3187
3191
|
"MESSAGE_TYPE_MINI_PROGRAM",
|
|
3192
|
+
"MESSAGE_TYPE_GROUP_NOTE",
|
|
3188
3193
|
"MESSAGE_TYPE_TRANSFER",
|
|
3189
3194
|
"MESSAGE_TYPE_RED_ENVELOPE",
|
|
3190
3195
|
"MESSAGE_TYPE_RECALLED",
|
|
3191
3196
|
"MESSAGE_TYPE_URL",
|
|
3192
|
-
"
|
|
3197
|
+
"MESSAGE_TYPE_VIDEO",
|
|
3198
|
+
"MESSAGE_TYPE_POST",
|
|
3199
|
+
"MESSAGE_TYPE_CHANNEL",
|
|
3200
|
+
"MESSAGE_TYPE_SYSTEM"
|
|
3193
3201
|
],
|
|
3194
3202
|
"default": "MESSAGE_TYPE_UNSPECIFIED"
|
|
3195
3203
|
},
|
|
@@ -27,18 +27,21 @@ enum MessageType {
|
|
|
27
27
|
MESSAGE_TYPE_ATTACHMENT = 1;
|
|
28
28
|
MESSAGE_TYPE_AUDIO = 2;
|
|
29
29
|
MESSAGE_TYPE_CONTACT = 3;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
MESSAGE_TYPE_CHAT_HISTORY = 4;
|
|
31
|
+
MESSAGE_TYPE_EMOTCION = 5;
|
|
32
|
+
MESSAGE_TYPE_IMAGE = 6;
|
|
33
|
+
MESSAGE_TYPE_TEXT = 7;
|
|
34
|
+
MESSAGE_TYPE_LOCATION = 8;
|
|
35
|
+
MESSAGE_TYPE_MINI_PROGRAM = 9;
|
|
36
|
+
MESSAGE_TYPE_GROUP_NOTE = 10;
|
|
37
37
|
MESSAGE_TYPE_TRANSFER = 11;
|
|
38
38
|
MESSAGE_TYPE_RED_ENVELOPE = 12;
|
|
39
39
|
MESSAGE_TYPE_RECALLED = 13;
|
|
40
40
|
MESSAGE_TYPE_URL = 14;
|
|
41
|
-
|
|
41
|
+
MESSAGE_TYPE_VIDEO = 15;
|
|
42
|
+
MESSAGE_TYPE_POST = 16;
|
|
43
|
+
MESSAGE_TYPE_CHANNEL = 17;
|
|
44
|
+
MESSAGE_TYPE_SYSTEM = 18;
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
message MessagePayloadRequest {
|
|
@@ -59,6 +62,7 @@ message MessagePayloadResponse {
|
|
|
59
62
|
string listener_id = 8;
|
|
60
63
|
repeated string mention_ids = 9;
|
|
61
64
|
google.protobuf.Timestamp receive_time = 10;
|
|
65
|
+
optional string quote_id = 11;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
message MessageImageRequest {
|
|
@@ -145,10 +149,8 @@ message MessageSendFileResponse {
|
|
|
145
149
|
message MessageSendTextRequest {
|
|
146
150
|
string conversation_id = 1;
|
|
147
151
|
string text = 2;
|
|
148
|
-
|
|
149
|
-
// Huan(202011) FIXME: Issue #99
|
|
150
|
-
// https://github.com/wechaty/grpc/issues/99
|
|
151
152
|
repeated string mentional_ids = 3;
|
|
153
|
+
optional string quote_id = 4;
|
|
152
154
|
}
|
|
153
155
|
message MessageSendTextResponse {
|
|
154
156
|
/**
|
|
@@ -65,6 +65,11 @@ export class MessagePayloadResponse extends jspb.Message {
|
|
|
65
65
|
getReceiveTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
66
66
|
setReceiveTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
67
67
|
|
|
68
|
+
hasQuoteId(): boolean;
|
|
69
|
+
clearQuoteId(): void;
|
|
70
|
+
getQuoteId(): string;
|
|
71
|
+
setQuoteId(value: string): void;
|
|
72
|
+
|
|
68
73
|
serializeBinary(): Uint8Array;
|
|
69
74
|
toObject(includeInstance?: boolean): MessagePayloadResponse.AsObject;
|
|
70
75
|
static toObject(includeInstance: boolean, msg: MessagePayloadResponse): MessagePayloadResponse.AsObject;
|
|
@@ -87,6 +92,7 @@ export namespace MessagePayloadResponse {
|
|
|
87
92
|
listenerId: string,
|
|
88
93
|
mentionIdsList: Array<string>,
|
|
89
94
|
receiveTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
95
|
+
quoteId: string,
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
|
|
@@ -460,6 +466,11 @@ export class MessageSendTextRequest extends jspb.Message {
|
|
|
460
466
|
setMentionalIdsList(value: Array<string>): void;
|
|
461
467
|
addMentionalIds(value: string, index?: number): string;
|
|
462
468
|
|
|
469
|
+
hasQuoteId(): boolean;
|
|
470
|
+
clearQuoteId(): void;
|
|
471
|
+
getQuoteId(): string;
|
|
472
|
+
setQuoteId(value: string): void;
|
|
473
|
+
|
|
463
474
|
serializeBinary(): Uint8Array;
|
|
464
475
|
toObject(includeInstance?: boolean): MessageSendTextRequest.AsObject;
|
|
465
476
|
static toObject(includeInstance: boolean, msg: MessageSendTextRequest): MessageSendTextRequest.AsObject;
|
|
@@ -475,6 +486,7 @@ export namespace MessageSendTextRequest {
|
|
|
475
486
|
conversationId: string,
|
|
476
487
|
text: string,
|
|
477
488
|
mentionalIdsList: Array<string>,
|
|
489
|
+
quoteId: string,
|
|
478
490
|
}
|
|
479
491
|
}
|
|
480
492
|
|
|
@@ -845,18 +857,21 @@ export interface MessageTypeMap {
|
|
|
845
857
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
846
858
|
MESSAGE_TYPE_AUDIO: 2;
|
|
847
859
|
MESSAGE_TYPE_CONTACT: 3;
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
860
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4;
|
|
861
|
+
MESSAGE_TYPE_EMOTCION: 5;
|
|
862
|
+
MESSAGE_TYPE_IMAGE: 6;
|
|
863
|
+
MESSAGE_TYPE_TEXT: 7;
|
|
864
|
+
MESSAGE_TYPE_LOCATION: 8;
|
|
865
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9;
|
|
866
|
+
MESSAGE_TYPE_GROUP_NOTE: 10;
|
|
855
867
|
MESSAGE_TYPE_TRANSFER: 11;
|
|
856
868
|
MESSAGE_TYPE_RED_ENVELOPE: 12;
|
|
857
869
|
MESSAGE_TYPE_RECALLED: 13;
|
|
858
870
|
MESSAGE_TYPE_URL: 14;
|
|
859
|
-
|
|
871
|
+
MESSAGE_TYPE_VIDEO: 15;
|
|
872
|
+
MESSAGE_TYPE_POST: 16;
|
|
873
|
+
MESSAGE_TYPE_CHANNEL: 17;
|
|
874
|
+
MESSAGE_TYPE_SYSTEM: 18;
|
|
860
875
|
}
|
|
861
876
|
|
|
862
877
|
export const MessageType: MessageTypeMap;
|
|
@@ -956,7 +956,8 @@ proto.wechaty.puppet.MessagePayloadResponse.toObject = function(includeInstance,
|
|
|
956
956
|
roomId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
957
957
|
listenerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
958
958
|
mentionIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
959
|
-
receiveTime: (f = msg.getReceiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
959
|
+
receiveTime: (f = msg.getReceiveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
960
|
+
quoteId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
960
961
|
};
|
|
961
962
|
|
|
962
963
|
if (includeInstance) {
|
|
@@ -1034,6 +1035,10 @@ proto.wechaty.puppet.MessagePayloadResponse.deserializeBinaryFromReader = functi
|
|
|
1034
1035
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1035
1036
|
msg.setReceiveTime(value);
|
|
1036
1037
|
break;
|
|
1038
|
+
case 11:
|
|
1039
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1040
|
+
msg.setQuoteId(value);
|
|
1041
|
+
break;
|
|
1037
1042
|
default:
|
|
1038
1043
|
reader.skipField();
|
|
1039
1044
|
break;
|
|
@@ -1134,6 +1139,13 @@ proto.wechaty.puppet.MessagePayloadResponse.serializeBinaryToWriter = function(m
|
|
|
1134
1139
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1135
1140
|
);
|
|
1136
1141
|
}
|
|
1142
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
1143
|
+
if (f != null) {
|
|
1144
|
+
writer.writeString(
|
|
1145
|
+
11,
|
|
1146
|
+
f
|
|
1147
|
+
);
|
|
1148
|
+
}
|
|
1137
1149
|
};
|
|
1138
1150
|
|
|
1139
1151
|
|
|
@@ -1355,6 +1367,42 @@ proto.wechaty.puppet.MessagePayloadResponse.prototype.hasReceiveTime = function(
|
|
|
1355
1367
|
};
|
|
1356
1368
|
|
|
1357
1369
|
|
|
1370
|
+
/**
|
|
1371
|
+
* optional string quote_id = 11;
|
|
1372
|
+
* @return {string}
|
|
1373
|
+
*/
|
|
1374
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.getQuoteId = function() {
|
|
1375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* @param {string} value
|
|
1381
|
+
* @return {!proto.wechaty.puppet.MessagePayloadResponse} returns this
|
|
1382
|
+
*/
|
|
1383
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.setQuoteId = function(value) {
|
|
1384
|
+
return jspb.Message.setField(this, 11, value);
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Clears the field making it undefined.
|
|
1390
|
+
* @return {!proto.wechaty.puppet.MessagePayloadResponse} returns this
|
|
1391
|
+
*/
|
|
1392
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.clearQuoteId = function() {
|
|
1393
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Returns whether this field is set.
|
|
1399
|
+
* @return {boolean}
|
|
1400
|
+
*/
|
|
1401
|
+
proto.wechaty.puppet.MessagePayloadResponse.prototype.hasQuoteId = function() {
|
|
1402
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
|
|
1358
1406
|
|
|
1359
1407
|
|
|
1360
1408
|
|
|
@@ -3791,7 +3839,8 @@ proto.wechaty.puppet.MessageSendTextRequest.toObject = function(includeInstance,
|
|
|
3791
3839
|
var f, obj = {
|
|
3792
3840
|
conversationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3793
3841
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3794
|
-
mentionalIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
3842
|
+
mentionalIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
3843
|
+
quoteId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3795
3844
|
};
|
|
3796
3845
|
|
|
3797
3846
|
if (includeInstance) {
|
|
@@ -3840,6 +3889,10 @@ proto.wechaty.puppet.MessageSendTextRequest.deserializeBinaryFromReader = functi
|
|
|
3840
3889
|
var value = /** @type {string} */ (reader.readString());
|
|
3841
3890
|
msg.addMentionalIds(value);
|
|
3842
3891
|
break;
|
|
3892
|
+
case 4:
|
|
3893
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3894
|
+
msg.setQuoteId(value);
|
|
3895
|
+
break;
|
|
3843
3896
|
default:
|
|
3844
3897
|
reader.skipField();
|
|
3845
3898
|
break;
|
|
@@ -3890,6 +3943,13 @@ proto.wechaty.puppet.MessageSendTextRequest.serializeBinaryToWriter = function(m
|
|
|
3890
3943
|
f
|
|
3891
3944
|
);
|
|
3892
3945
|
}
|
|
3946
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
3947
|
+
if (f != null) {
|
|
3948
|
+
writer.writeString(
|
|
3949
|
+
4,
|
|
3950
|
+
f
|
|
3951
|
+
);
|
|
3952
|
+
}
|
|
3893
3953
|
};
|
|
3894
3954
|
|
|
3895
3955
|
|
|
@@ -3966,6 +4026,42 @@ proto.wechaty.puppet.MessageSendTextRequest.prototype.clearMentionalIdsList = fu
|
|
|
3966
4026
|
};
|
|
3967
4027
|
|
|
3968
4028
|
|
|
4029
|
+
/**
|
|
4030
|
+
* optional string quote_id = 4;
|
|
4031
|
+
* @return {string}
|
|
4032
|
+
*/
|
|
4033
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.getQuoteId = function() {
|
|
4034
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
|
|
4038
|
+
/**
|
|
4039
|
+
* @param {string} value
|
|
4040
|
+
* @return {!proto.wechaty.puppet.MessageSendTextRequest} returns this
|
|
4041
|
+
*/
|
|
4042
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.setQuoteId = function(value) {
|
|
4043
|
+
return jspb.Message.setField(this, 4, value);
|
|
4044
|
+
};
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
/**
|
|
4048
|
+
* Clears the field making it undefined.
|
|
4049
|
+
* @return {!proto.wechaty.puppet.MessageSendTextRequest} returns this
|
|
4050
|
+
*/
|
|
4051
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.clearQuoteId = function() {
|
|
4052
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4053
|
+
};
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
/**
|
|
4057
|
+
* Returns whether this field is set.
|
|
4058
|
+
* @return {boolean}
|
|
4059
|
+
*/
|
|
4060
|
+
proto.wechaty.puppet.MessageSendTextRequest.prototype.hasQuoteId = function() {
|
|
4061
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4062
|
+
};
|
|
4063
|
+
|
|
4064
|
+
|
|
3969
4065
|
|
|
3970
4066
|
|
|
3971
4067
|
|
|
@@ -6443,18 +6539,21 @@ proto.wechaty.puppet.MessageType = {
|
|
|
6443
6539
|
MESSAGE_TYPE_ATTACHMENT: 1,
|
|
6444
6540
|
MESSAGE_TYPE_AUDIO: 2,
|
|
6445
6541
|
MESSAGE_TYPE_CONTACT: 3,
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6542
|
+
MESSAGE_TYPE_CHAT_HISTORY: 4,
|
|
6543
|
+
MESSAGE_TYPE_EMOTCION: 5,
|
|
6544
|
+
MESSAGE_TYPE_IMAGE: 6,
|
|
6545
|
+
MESSAGE_TYPE_TEXT: 7,
|
|
6546
|
+
MESSAGE_TYPE_LOCATION: 8,
|
|
6547
|
+
MESSAGE_TYPE_MINI_PROGRAM: 9,
|
|
6548
|
+
MESSAGE_TYPE_GROUP_NOTE: 10,
|
|
6453
6549
|
MESSAGE_TYPE_TRANSFER: 11,
|
|
6454
6550
|
MESSAGE_TYPE_RED_ENVELOPE: 12,
|
|
6455
6551
|
MESSAGE_TYPE_RECALLED: 13,
|
|
6456
6552
|
MESSAGE_TYPE_URL: 14,
|
|
6457
|
-
|
|
6553
|
+
MESSAGE_TYPE_VIDEO: 15,
|
|
6554
|
+
MESSAGE_TYPE_POST: 16,
|
|
6555
|
+
MESSAGE_TYPE_CHANNEL: 17,
|
|
6556
|
+
MESSAGE_TYPE_SYSTEM: 18
|
|
6458
6557
|
};
|
|
6459
6558
|
|
|
6460
6559
|
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.4
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -559,9 +559,8 @@ paths:
|
|
|
559
559
|
type: array
|
|
560
560
|
items:
|
|
561
561
|
type: string
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
https://github.com/wechaty/grpc/issues/99
|
|
562
|
+
quoteId:
|
|
563
|
+
type: string
|
|
565
564
|
tags:
|
|
566
565
|
- Puppet
|
|
567
566
|
'/conversations/{conversationId}/url-link':
|
|
@@ -2093,6 +2092,8 @@ definitions:
|
|
|
2093
2092
|
receiveTime:
|
|
2094
2093
|
type: string
|
|
2095
2094
|
format: date-time
|
|
2095
|
+
quoteId:
|
|
2096
|
+
type: string
|
|
2096
2097
|
puppetMessageRecallResponse:
|
|
2097
2098
|
type: object
|
|
2098
2099
|
properties:
|
|
@@ -2210,18 +2211,21 @@ definitions:
|
|
|
2210
2211
|
- MESSAGE_TYPE_ATTACHMENT
|
|
2211
2212
|
- MESSAGE_TYPE_AUDIO
|
|
2212
2213
|
- MESSAGE_TYPE_CONTACT
|
|
2213
|
-
-
|
|
2214
|
+
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2215
|
+
- MESSAGE_TYPE_EMOTCION
|
|
2214
2216
|
- MESSAGE_TYPE_IMAGE
|
|
2215
2217
|
- MESSAGE_TYPE_TEXT
|
|
2216
|
-
- MESSAGE_TYPE_VIDEO
|
|
2217
|
-
- MESSAGE_TYPE_CHAT_HISTORY
|
|
2218
2218
|
- MESSAGE_TYPE_LOCATION
|
|
2219
2219
|
- MESSAGE_TYPE_MINI_PROGRAM
|
|
2220
|
+
- MESSAGE_TYPE_GROUP_NOTE
|
|
2220
2221
|
- MESSAGE_TYPE_TRANSFER
|
|
2221
2222
|
- MESSAGE_TYPE_RED_ENVELOPE
|
|
2222
2223
|
- MESSAGE_TYPE_RECALLED
|
|
2223
2224
|
- MESSAGE_TYPE_URL
|
|
2225
|
+
- MESSAGE_TYPE_VIDEO
|
|
2226
|
+
- MESSAGE_TYPE_POST
|
|
2224
2227
|
- MESSAGE_TYPE_CHANNEL
|
|
2228
|
+
- MESSAGE_TYPE_SYSTEM
|
|
2225
2229
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
2226
2230
|
puppetMessageUrlResponse:
|
|
2227
2231
|
type: object
|
|
@@ -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.4",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -829,8 +829,10 @@
|
|
|
829
829
|
"type": "array",
|
|
830
830
|
"items": {
|
|
831
831
|
"type": "string"
|
|
832
|
-
}
|
|
833
|
-
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"quoteId": {
|
|
835
|
+
"type": "string"
|
|
834
836
|
}
|
|
835
837
|
}
|
|
836
838
|
}
|
|
@@ -3048,6 +3050,9 @@
|
|
|
3048
3050
|
"receiveTime": {
|
|
3049
3051
|
"type": "string",
|
|
3050
3052
|
"format": "date-time"
|
|
3053
|
+
},
|
|
3054
|
+
"quoteId": {
|
|
3055
|
+
"type": "string"
|
|
3051
3056
|
}
|
|
3052
3057
|
}
|
|
3053
3058
|
},
|
|
@@ -3178,18 +3183,21 @@
|
|
|
3178
3183
|
"MESSAGE_TYPE_ATTACHMENT",
|
|
3179
3184
|
"MESSAGE_TYPE_AUDIO",
|
|
3180
3185
|
"MESSAGE_TYPE_CONTACT",
|
|
3181
|
-
"
|
|
3186
|
+
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3187
|
+
"MESSAGE_TYPE_EMOTCION",
|
|
3182
3188
|
"MESSAGE_TYPE_IMAGE",
|
|
3183
3189
|
"MESSAGE_TYPE_TEXT",
|
|
3184
|
-
"MESSAGE_TYPE_VIDEO",
|
|
3185
|
-
"MESSAGE_TYPE_CHAT_HISTORY",
|
|
3186
3190
|
"MESSAGE_TYPE_LOCATION",
|
|
3187
3191
|
"MESSAGE_TYPE_MINI_PROGRAM",
|
|
3192
|
+
"MESSAGE_TYPE_GROUP_NOTE",
|
|
3188
3193
|
"MESSAGE_TYPE_TRANSFER",
|
|
3189
3194
|
"MESSAGE_TYPE_RED_ENVELOPE",
|
|
3190
3195
|
"MESSAGE_TYPE_RECALLED",
|
|
3191
3196
|
"MESSAGE_TYPE_URL",
|
|
3192
|
-
"
|
|
3197
|
+
"MESSAGE_TYPE_VIDEO",
|
|
3198
|
+
"MESSAGE_TYPE_POST",
|
|
3199
|
+
"MESSAGE_TYPE_CHANNEL",
|
|
3200
|
+
"MESSAGE_TYPE_SYSTEM"
|
|
3193
3201
|
],
|
|
3194
3202
|
"default": "MESSAGE_TYPE_UNSPECIFIED"
|
|
3195
3203
|
},
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED