jr-common-micro 1.1.69 → 1.1.70
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.
|
@@ -61,7 +61,7 @@ export interface ChatMessageDto {
|
|
|
61
61
|
link_preview: ChatLinkPreviewDto | undefined;
|
|
62
62
|
forwarded_from: string;
|
|
63
63
|
forwarded_from_group: string;
|
|
64
|
-
|
|
64
|
+
ticker_cards: ChatTickerCardDto[];
|
|
65
65
|
}
|
|
66
66
|
export interface ChatTickerCardDto {
|
|
67
67
|
symbol: string;
|
|
@@ -102,7 +102,7 @@ export declare class ChatMessageDto extends Message<ChatMessageDto> {
|
|
|
102
102
|
linkPreview?: ChatLinkPreviewDto;
|
|
103
103
|
forwardedFrom: string;
|
|
104
104
|
forwardedFromGroup: string;
|
|
105
|
-
|
|
105
|
+
tickerCards: ChatTickerCardDto[];
|
|
106
106
|
constructor(data?: PartialMessage<ChatMessageDto>);
|
|
107
107
|
static readonly runtime: typeof proto3;
|
|
108
108
|
static readonly typeName = "micro.v1.chat.ChatMessageDto";
|
|
@@ -198,7 +198,7 @@ class ChatMessageDto extends protobuf_1.Message {
|
|
|
198
198
|
linkPreview;
|
|
199
199
|
forwardedFrom = "";
|
|
200
200
|
forwardedFromGroup = "";
|
|
201
|
-
|
|
201
|
+
tickerCards = [];
|
|
202
202
|
constructor(data) {
|
|
203
203
|
super();
|
|
204
204
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -227,7 +227,7 @@ class ChatMessageDto extends protobuf_1.Message {
|
|
|
227
227
|
{ no: 19, name: "link_preview", kind: "message", T: ChatLinkPreviewDto },
|
|
228
228
|
{ no: 20, name: "forwarded_from", kind: "scalar", T: 9 },
|
|
229
229
|
{ no: 21, name: "forwarded_from_group", kind: "scalar", T: 9 },
|
|
230
|
-
{ no: 22, name: "
|
|
230
|
+
{ no: 22, name: "ticker_cards", kind: "message", T: ChatTickerCardDto, repeated: true },
|
|
231
231
|
]);
|
|
232
232
|
static fromBinary(bytes, options) {
|
|
233
233
|
return new ChatMessageDto().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -91,9 +91,10 @@ message ChatMessageDto {
|
|
|
91
91
|
string forwarded_from = 20;
|
|
92
92
|
// Name of the room it was forwarded from, shown beside the author.
|
|
93
93
|
string forwarded_from_group = 21;
|
|
94
|
-
// Price
|
|
95
|
-
// message was sent
|
|
96
|
-
|
|
94
|
+
// Price cards for the $SYMBOLs mentioned in the text (up to three),
|
|
95
|
+
// captured when the message was sent — snapshots with their own
|
|
96
|
+
// timestamp, never live.
|
|
97
|
+
repeated ChatTickerCardDto ticker_cards = 22;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
message ChatTickerCardDto {
|