jr-common-micro 1.1.66 → 1.1.67
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.
|
@@ -100,6 +100,7 @@ export declare class ChatMessageDto extends Message<ChatMessageDto> {
|
|
|
100
100
|
poll?: ChatPollDto;
|
|
101
101
|
media?: ChatMediaDto;
|
|
102
102
|
linkPreview?: ChatLinkPreviewDto;
|
|
103
|
+
forwardedFrom: string;
|
|
103
104
|
constructor(data?: PartialMessage<ChatMessageDto>);
|
|
104
105
|
static readonly runtime: typeof proto3;
|
|
105
106
|
static readonly typeName = "micro.v1.chat.ChatMessageDto";
|
|
@@ -196,6 +196,7 @@ class ChatMessageDto extends protobuf_1.Message {
|
|
|
196
196
|
poll;
|
|
197
197
|
media;
|
|
198
198
|
linkPreview;
|
|
199
|
+
forwardedFrom = "";
|
|
199
200
|
constructor(data) {
|
|
200
201
|
super();
|
|
201
202
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -222,6 +223,7 @@ class ChatMessageDto extends protobuf_1.Message {
|
|
|
222
223
|
{ no: 17, name: "poll", kind: "message", T: ChatPollDto },
|
|
223
224
|
{ no: 18, name: "media", kind: "message", T: ChatMediaDto },
|
|
224
225
|
{ no: 19, name: "link_preview", kind: "message", T: ChatLinkPreviewDto },
|
|
226
|
+
{ no: 20, name: "forwarded_from", kind: "scalar", T: 9 },
|
|
225
227
|
]);
|
|
226
228
|
static fromBinary(bytes, options) {
|
|
227
229
|
return new ChatMessageDto().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -86,6 +86,9 @@ message ChatMessageDto {
|
|
|
86
86
|
// OpenGraph preview of the first link (staff messages only). Arrives
|
|
87
87
|
// asynchronously after the send; history carries it inline.
|
|
88
88
|
ChatLinkPreviewDto link_preview = 19;
|
|
89
|
+
// Original author when this message was forwarded. Label only: the client
|
|
90
|
+
// must not turn it into a link to a group the viewer may not be in.
|
|
91
|
+
string forwarded_from = 20;
|
|
89
92
|
}
|
|
90
93
|
|
|
91
94
|
message ChatLinkPreviewDto {
|