jr-common-micro 1.1.80 → 1.1.81
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.
|
@@ -228,6 +228,7 @@ export declare class ChatMediaItemDto extends Message<ChatMediaItemDto> {
|
|
|
228
228
|
userId: string;
|
|
229
229
|
username: string;
|
|
230
230
|
hasThumb: boolean;
|
|
231
|
+
caption: string;
|
|
231
232
|
constructor(data?: PartialMessage<ChatMediaItemDto>);
|
|
232
233
|
static readonly runtime: typeof proto3;
|
|
233
234
|
static readonly typeName = "micro.v1.chat.ChatMediaItemDto";
|
|
@@ -486,6 +486,7 @@ class ChatMediaItemDto extends protobuf_1.Message {
|
|
|
486
486
|
userId = "";
|
|
487
487
|
username = "";
|
|
488
488
|
hasThumb = false;
|
|
489
|
+
caption = "";
|
|
489
490
|
constructor(data) {
|
|
490
491
|
super();
|
|
491
492
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -502,6 +503,7 @@ class ChatMediaItemDto extends protobuf_1.Message {
|
|
|
502
503
|
{ no: 7, name: "user_id", kind: "scalar", T: 9 },
|
|
503
504
|
{ no: 8, name: "username", kind: "scalar", T: 9 },
|
|
504
505
|
{ no: 9, name: "has_thumb", kind: "scalar", T: 8 },
|
|
506
|
+
{ no: 10, name: "caption", kind: "scalar", T: 9 },
|
|
505
507
|
]);
|
|
506
508
|
static fromBinary(bytes, options) {
|
|
507
509
|
return new ChatMediaItemDto().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -191,6 +191,8 @@ message ChatMediaItemDto {
|
|
|
191
191
|
// A grid thumbnail exists (uploads from before the column fall back to
|
|
192
192
|
// the full image).
|
|
193
193
|
bool has_thumb = 9;
|
|
194
|
+
// Message text sent with the media ('' when none), for the viewer.
|
|
195
|
+
string caption = 10;
|
|
194
196
|
}
|
|
195
197
|
|
|
196
198
|
message GroupMediaResponse {
|