@juzi/wechaty-grpc 1.0.70 → 1.0.71
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/chat-history_pb.d.ts +4 -0
- package/dist/cjs/out/wechaty/puppet/chat-history_pb.js +35 -5
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +3 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +4 -1
- package/dist/cjs/proto/wechaty/puppet/chat-history.proto +2 -1
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/chat-history_pb.d.ts +4 -0
- package/dist/esm/out/wechaty/puppet/chat-history_pb.js +35 -5
- package/dist/esm/out/wechaty/puppet.openapi.yaml +3 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +4 -1
- package/dist/esm/proto/wechaty/puppet/chat-history.proto +2 -1
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/chat-history_pb.d.ts +4 -0
- package/out/wechaty/puppet/chat-history_pb.js +35 -5
- package/out/wechaty/puppet.openapi.yaml +3 -1
- package/out/wechaty/puppet.swagger.json +4 -1
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -81,6 +81,9 @@ export class ChatHistoryPayload extends jspb.Message {
|
|
|
81
81
|
getTime(): number;
|
|
82
82
|
setTime(value: number): void;
|
|
83
83
|
|
|
84
|
+
getTitle(): string;
|
|
85
|
+
setTitle(value: string): void;
|
|
86
|
+
|
|
84
87
|
hasMessage(): boolean;
|
|
85
88
|
clearMessage(): void;
|
|
86
89
|
getMessage(): ChatHistoryContent | undefined;
|
|
@@ -103,6 +106,7 @@ export namespace ChatHistoryPayload {
|
|
|
103
106
|
senderName: string,
|
|
104
107
|
corpName: string,
|
|
105
108
|
time: number,
|
|
109
|
+
title: string,
|
|
106
110
|
message?: ChatHistoryContent.AsObject,
|
|
107
111
|
}
|
|
108
112
|
}
|
|
@@ -559,6 +559,7 @@ proto.wechaty.puppet.ChatHistoryPayload.toObject = function(includeInstance, msg
|
|
|
559
559
|
senderName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
560
560
|
corpName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
561
561
|
time: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
562
|
+
title: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
562
563
|
message: (f = msg.getMessage()) && proto.wechaty.puppet.ChatHistoryContent.toObject(includeInstance, f)
|
|
563
564
|
};
|
|
564
565
|
|
|
@@ -617,6 +618,10 @@ proto.wechaty.puppet.ChatHistoryPayload.deserializeBinaryFromReader = function(m
|
|
|
617
618
|
msg.setTime(value);
|
|
618
619
|
break;
|
|
619
620
|
case 6:
|
|
621
|
+
var value = /** @type {string} */ (reader.readString());
|
|
622
|
+
msg.setTitle(value);
|
|
623
|
+
break;
|
|
624
|
+
case 7:
|
|
620
625
|
var value = new proto.wechaty.puppet.ChatHistoryContent;
|
|
621
626
|
reader.readMessage(value,proto.wechaty.puppet.ChatHistoryContent.deserializeBinaryFromReader);
|
|
622
627
|
msg.setMessage(value);
|
|
@@ -685,10 +690,17 @@ proto.wechaty.puppet.ChatHistoryPayload.serializeBinaryToWriter = function(messa
|
|
|
685
690
|
f
|
|
686
691
|
);
|
|
687
692
|
}
|
|
693
|
+
f = message.getTitle();
|
|
694
|
+
if (f.length > 0) {
|
|
695
|
+
writer.writeString(
|
|
696
|
+
6,
|
|
697
|
+
f
|
|
698
|
+
);
|
|
699
|
+
}
|
|
688
700
|
f = message.getMessage();
|
|
689
701
|
if (f != null) {
|
|
690
702
|
writer.writeMessage(
|
|
691
|
-
|
|
703
|
+
7,
|
|
692
704
|
f,
|
|
693
705
|
proto.wechaty.puppet.ChatHistoryContent.serializeBinaryToWriter
|
|
694
706
|
);
|
|
@@ -787,12 +799,30 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.setTime = function(value) {
|
|
|
787
799
|
|
|
788
800
|
|
|
789
801
|
/**
|
|
790
|
-
* optional
|
|
802
|
+
* optional string title = 6;
|
|
803
|
+
* @return {string}
|
|
804
|
+
*/
|
|
805
|
+
proto.wechaty.puppet.ChatHistoryPayload.prototype.getTitle = function() {
|
|
806
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @param {string} value
|
|
812
|
+
* @return {!proto.wechaty.puppet.ChatHistoryPayload} returns this
|
|
813
|
+
*/
|
|
814
|
+
proto.wechaty.puppet.ChatHistoryPayload.prototype.setTitle = function(value) {
|
|
815
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* optional ChatHistoryContent message = 7;
|
|
791
821
|
* @return {?proto.wechaty.puppet.ChatHistoryContent}
|
|
792
822
|
*/
|
|
793
823
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.getMessage = function() {
|
|
794
824
|
return /** @type{?proto.wechaty.puppet.ChatHistoryContent} */ (
|
|
795
|
-
jspb.Message.getWrapperField(this, proto.wechaty.puppet.ChatHistoryContent,
|
|
825
|
+
jspb.Message.getWrapperField(this, proto.wechaty.puppet.ChatHistoryContent, 7));
|
|
796
826
|
};
|
|
797
827
|
|
|
798
828
|
|
|
@@ -801,7 +831,7 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.getMessage = function() {
|
|
|
801
831
|
* @return {!proto.wechaty.puppet.ChatHistoryPayload} returns this
|
|
802
832
|
*/
|
|
803
833
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.setMessage = function(value) {
|
|
804
|
-
return jspb.Message.setWrapperField(this,
|
|
834
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
805
835
|
};
|
|
806
836
|
|
|
807
837
|
|
|
@@ -819,7 +849,7 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.clearMessage = function() {
|
|
|
819
849
|
* @return {boolean}
|
|
820
850
|
*/
|
|
821
851
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.hasMessage = function() {
|
|
822
|
-
return jspb.Message.getField(this,
|
|
852
|
+
return jspb.Message.getField(this, 7) != null;
|
|
823
853
|
};
|
|
824
854
|
|
|
825
855
|
|
|
@@ -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.71
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -2715,6 +2715,8 @@ definitions:
|
|
|
2715
2715
|
time:
|
|
2716
2716
|
type: integer
|
|
2717
2717
|
format: int32
|
|
2718
|
+
title:
|
|
2719
|
+
type: string
|
|
2718
2720
|
message:
|
|
2719
2721
|
$ref: '#/definitions/puppetChatHistoryContent'
|
|
2720
2722
|
puppetContactAliasResponse:
|
|
@@ -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.71",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4020,6 +4020,9 @@
|
|
|
4020
4020
|
"type": "integer",
|
|
4021
4021
|
"format": "int32"
|
|
4022
4022
|
},
|
|
4023
|
+
"title": {
|
|
4024
|
+
"type": "string"
|
|
4025
|
+
},
|
|
4023
4026
|
"message": {
|
|
4024
4027
|
"$ref": "#/definitions/puppetChatHistoryContent"
|
|
4025
4028
|
}
|
|
@@ -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.71",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -81,6 +81,9 @@ export class ChatHistoryPayload extends jspb.Message {
|
|
|
81
81
|
getTime(): number;
|
|
82
82
|
setTime(value: number): void;
|
|
83
83
|
|
|
84
|
+
getTitle(): string;
|
|
85
|
+
setTitle(value: string): void;
|
|
86
|
+
|
|
84
87
|
hasMessage(): boolean;
|
|
85
88
|
clearMessage(): void;
|
|
86
89
|
getMessage(): ChatHistoryContent | undefined;
|
|
@@ -103,6 +106,7 @@ export namespace ChatHistoryPayload {
|
|
|
103
106
|
senderName: string,
|
|
104
107
|
corpName: string,
|
|
105
108
|
time: number,
|
|
109
|
+
title: string,
|
|
106
110
|
message?: ChatHistoryContent.AsObject,
|
|
107
111
|
}
|
|
108
112
|
}
|
|
@@ -559,6 +559,7 @@ proto.wechaty.puppet.ChatHistoryPayload.toObject = function(includeInstance, msg
|
|
|
559
559
|
senderName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
560
560
|
corpName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
561
561
|
time: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
562
|
+
title: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
562
563
|
message: (f = msg.getMessage()) && proto.wechaty.puppet.ChatHistoryContent.toObject(includeInstance, f)
|
|
563
564
|
};
|
|
564
565
|
|
|
@@ -617,6 +618,10 @@ proto.wechaty.puppet.ChatHistoryPayload.deserializeBinaryFromReader = function(m
|
|
|
617
618
|
msg.setTime(value);
|
|
618
619
|
break;
|
|
619
620
|
case 6:
|
|
621
|
+
var value = /** @type {string} */ (reader.readString());
|
|
622
|
+
msg.setTitle(value);
|
|
623
|
+
break;
|
|
624
|
+
case 7:
|
|
620
625
|
var value = new proto.wechaty.puppet.ChatHistoryContent;
|
|
621
626
|
reader.readMessage(value,proto.wechaty.puppet.ChatHistoryContent.deserializeBinaryFromReader);
|
|
622
627
|
msg.setMessage(value);
|
|
@@ -685,10 +690,17 @@ proto.wechaty.puppet.ChatHistoryPayload.serializeBinaryToWriter = function(messa
|
|
|
685
690
|
f
|
|
686
691
|
);
|
|
687
692
|
}
|
|
693
|
+
f = message.getTitle();
|
|
694
|
+
if (f.length > 0) {
|
|
695
|
+
writer.writeString(
|
|
696
|
+
6,
|
|
697
|
+
f
|
|
698
|
+
);
|
|
699
|
+
}
|
|
688
700
|
f = message.getMessage();
|
|
689
701
|
if (f != null) {
|
|
690
702
|
writer.writeMessage(
|
|
691
|
-
|
|
703
|
+
7,
|
|
692
704
|
f,
|
|
693
705
|
proto.wechaty.puppet.ChatHistoryContent.serializeBinaryToWriter
|
|
694
706
|
);
|
|
@@ -787,12 +799,30 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.setTime = function(value) {
|
|
|
787
799
|
|
|
788
800
|
|
|
789
801
|
/**
|
|
790
|
-
* optional
|
|
802
|
+
* optional string title = 6;
|
|
803
|
+
* @return {string}
|
|
804
|
+
*/
|
|
805
|
+
proto.wechaty.puppet.ChatHistoryPayload.prototype.getTitle = function() {
|
|
806
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @param {string} value
|
|
812
|
+
* @return {!proto.wechaty.puppet.ChatHistoryPayload} returns this
|
|
813
|
+
*/
|
|
814
|
+
proto.wechaty.puppet.ChatHistoryPayload.prototype.setTitle = function(value) {
|
|
815
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* optional ChatHistoryContent message = 7;
|
|
791
821
|
* @return {?proto.wechaty.puppet.ChatHistoryContent}
|
|
792
822
|
*/
|
|
793
823
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.getMessage = function() {
|
|
794
824
|
return /** @type{?proto.wechaty.puppet.ChatHistoryContent} */ (
|
|
795
|
-
jspb.Message.getWrapperField(this, proto.wechaty.puppet.ChatHistoryContent,
|
|
825
|
+
jspb.Message.getWrapperField(this, proto.wechaty.puppet.ChatHistoryContent, 7));
|
|
796
826
|
};
|
|
797
827
|
|
|
798
828
|
|
|
@@ -801,7 +831,7 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.getMessage = function() {
|
|
|
801
831
|
* @return {!proto.wechaty.puppet.ChatHistoryPayload} returns this
|
|
802
832
|
*/
|
|
803
833
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.setMessage = function(value) {
|
|
804
|
-
return jspb.Message.setWrapperField(this,
|
|
834
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
805
835
|
};
|
|
806
836
|
|
|
807
837
|
|
|
@@ -819,7 +849,7 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.clearMessage = function() {
|
|
|
819
849
|
* @return {boolean}
|
|
820
850
|
*/
|
|
821
851
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.hasMessage = function() {
|
|
822
|
-
return jspb.Message.getField(this,
|
|
852
|
+
return jspb.Message.getField(this, 7) != null;
|
|
823
853
|
};
|
|
824
854
|
|
|
825
855
|
|
|
@@ -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.71
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -2715,6 +2715,8 @@ definitions:
|
|
|
2715
2715
|
time:
|
|
2716
2716
|
type: integer
|
|
2717
2717
|
format: int32
|
|
2718
|
+
title:
|
|
2719
|
+
type: string
|
|
2718
2720
|
message:
|
|
2719
2721
|
$ref: '#/definitions/puppetChatHistoryContent'
|
|
2720
2722
|
puppetContactAliasResponse:
|
|
@@ -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.71",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4020,6 +4020,9 @@
|
|
|
4020
4020
|
"type": "integer",
|
|
4021
4021
|
"format": "int32"
|
|
4022
4022
|
},
|
|
4023
|
+
"title": {
|
|
4024
|
+
"type": "string"
|
|
4025
|
+
},
|
|
4023
4026
|
"message": {
|
|
4024
4027
|
"$ref": "#/definitions/puppetChatHistoryContent"
|
|
4025
4028
|
}
|
|
@@ -81,6 +81,9 @@ export class ChatHistoryPayload extends jspb.Message {
|
|
|
81
81
|
getTime(): number;
|
|
82
82
|
setTime(value: number): void;
|
|
83
83
|
|
|
84
|
+
getTitle(): string;
|
|
85
|
+
setTitle(value: string): void;
|
|
86
|
+
|
|
84
87
|
hasMessage(): boolean;
|
|
85
88
|
clearMessage(): void;
|
|
86
89
|
getMessage(): ChatHistoryContent | undefined;
|
|
@@ -103,6 +106,7 @@ export namespace ChatHistoryPayload {
|
|
|
103
106
|
senderName: string,
|
|
104
107
|
corpName: string,
|
|
105
108
|
time: number,
|
|
109
|
+
title: string,
|
|
106
110
|
message?: ChatHistoryContent.AsObject,
|
|
107
111
|
}
|
|
108
112
|
}
|
|
@@ -559,6 +559,7 @@ proto.wechaty.puppet.ChatHistoryPayload.toObject = function(includeInstance, msg
|
|
|
559
559
|
senderName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
560
560
|
corpName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
561
561
|
time: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
562
|
+
title: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
562
563
|
message: (f = msg.getMessage()) && proto.wechaty.puppet.ChatHistoryContent.toObject(includeInstance, f)
|
|
563
564
|
};
|
|
564
565
|
|
|
@@ -617,6 +618,10 @@ proto.wechaty.puppet.ChatHistoryPayload.deserializeBinaryFromReader = function(m
|
|
|
617
618
|
msg.setTime(value);
|
|
618
619
|
break;
|
|
619
620
|
case 6:
|
|
621
|
+
var value = /** @type {string} */ (reader.readString());
|
|
622
|
+
msg.setTitle(value);
|
|
623
|
+
break;
|
|
624
|
+
case 7:
|
|
620
625
|
var value = new proto.wechaty.puppet.ChatHistoryContent;
|
|
621
626
|
reader.readMessage(value,proto.wechaty.puppet.ChatHistoryContent.deserializeBinaryFromReader);
|
|
622
627
|
msg.setMessage(value);
|
|
@@ -685,10 +690,17 @@ proto.wechaty.puppet.ChatHistoryPayload.serializeBinaryToWriter = function(messa
|
|
|
685
690
|
f
|
|
686
691
|
);
|
|
687
692
|
}
|
|
693
|
+
f = message.getTitle();
|
|
694
|
+
if (f.length > 0) {
|
|
695
|
+
writer.writeString(
|
|
696
|
+
6,
|
|
697
|
+
f
|
|
698
|
+
);
|
|
699
|
+
}
|
|
688
700
|
f = message.getMessage();
|
|
689
701
|
if (f != null) {
|
|
690
702
|
writer.writeMessage(
|
|
691
|
-
|
|
703
|
+
7,
|
|
692
704
|
f,
|
|
693
705
|
proto.wechaty.puppet.ChatHistoryContent.serializeBinaryToWriter
|
|
694
706
|
);
|
|
@@ -787,12 +799,30 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.setTime = function(value) {
|
|
|
787
799
|
|
|
788
800
|
|
|
789
801
|
/**
|
|
790
|
-
* optional
|
|
802
|
+
* optional string title = 6;
|
|
803
|
+
* @return {string}
|
|
804
|
+
*/
|
|
805
|
+
proto.wechaty.puppet.ChatHistoryPayload.prototype.getTitle = function() {
|
|
806
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @param {string} value
|
|
812
|
+
* @return {!proto.wechaty.puppet.ChatHistoryPayload} returns this
|
|
813
|
+
*/
|
|
814
|
+
proto.wechaty.puppet.ChatHistoryPayload.prototype.setTitle = function(value) {
|
|
815
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* optional ChatHistoryContent message = 7;
|
|
791
821
|
* @return {?proto.wechaty.puppet.ChatHistoryContent}
|
|
792
822
|
*/
|
|
793
823
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.getMessage = function() {
|
|
794
824
|
return /** @type{?proto.wechaty.puppet.ChatHistoryContent} */ (
|
|
795
|
-
jspb.Message.getWrapperField(this, proto.wechaty.puppet.ChatHistoryContent,
|
|
825
|
+
jspb.Message.getWrapperField(this, proto.wechaty.puppet.ChatHistoryContent, 7));
|
|
796
826
|
};
|
|
797
827
|
|
|
798
828
|
|
|
@@ -801,7 +831,7 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.getMessage = function() {
|
|
|
801
831
|
* @return {!proto.wechaty.puppet.ChatHistoryPayload} returns this
|
|
802
832
|
*/
|
|
803
833
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.setMessage = function(value) {
|
|
804
|
-
return jspb.Message.setWrapperField(this,
|
|
834
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
805
835
|
};
|
|
806
836
|
|
|
807
837
|
|
|
@@ -819,7 +849,7 @@ proto.wechaty.puppet.ChatHistoryPayload.prototype.clearMessage = function() {
|
|
|
819
849
|
* @return {boolean}
|
|
820
850
|
*/
|
|
821
851
|
proto.wechaty.puppet.ChatHistoryPayload.prototype.hasMessage = function() {
|
|
822
|
-
return jspb.Message.getField(this,
|
|
852
|
+
return jspb.Message.getField(this, 7) != null;
|
|
823
853
|
};
|
|
824
854
|
|
|
825
855
|
|
|
@@ -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.71
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -2715,6 +2715,8 @@ definitions:
|
|
|
2715
2715
|
time:
|
|
2716
2716
|
type: integer
|
|
2717
2717
|
format: int32
|
|
2718
|
+
title:
|
|
2719
|
+
type: string
|
|
2718
2720
|
message:
|
|
2719
2721
|
$ref: '#/definitions/puppetChatHistoryContent'
|
|
2720
2722
|
puppetContactAliasResponse:
|
|
@@ -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.71",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -4020,6 +4020,9 @@
|
|
|
4020
4020
|
"type": "integer",
|
|
4021
4021
|
"format": "int32"
|
|
4022
4022
|
},
|
|
4023
|
+
"title": {
|
|
4024
|
+
"type": "string"
|
|
4025
|
+
},
|
|
4023
4026
|
"message": {
|
|
4024
4027
|
"$ref": "#/definitions/puppetChatHistoryContent"
|
|
4025
4028
|
}
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED