jr-common-micro 1.1.59 → 1.1.60
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.
|
@@ -20,6 +20,8 @@ export declare class ChatGroupDto extends Message<ChatGroupDto> {
|
|
|
20
20
|
isActive: boolean;
|
|
21
21
|
systemNotices: boolean;
|
|
22
22
|
pollPolicy: string;
|
|
23
|
+
hasUnreadMention: boolean;
|
|
24
|
+
hasUnreadReaction: boolean;
|
|
23
25
|
constructor(data?: PartialMessage<ChatGroupDto>);
|
|
24
26
|
static readonly runtime: typeof proto3;
|
|
25
27
|
static readonly typeName = "micro.v1.chat.ChatGroupDto";
|
|
@@ -22,6 +22,8 @@ class ChatGroupDto extends protobuf_1.Message {
|
|
|
22
22
|
isActive = false;
|
|
23
23
|
systemNotices = false;
|
|
24
24
|
pollPolicy = "";
|
|
25
|
+
hasUnreadMention = false;
|
|
26
|
+
hasUnreadReaction = false;
|
|
25
27
|
constructor(data) {
|
|
26
28
|
super();
|
|
27
29
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -47,6 +49,8 @@ class ChatGroupDto extends protobuf_1.Message {
|
|
|
47
49
|
{ no: 16, name: "is_active", kind: "scalar", T: 8 },
|
|
48
50
|
{ no: 17, name: "system_notices", kind: "scalar", T: 8 },
|
|
49
51
|
{ no: 18, name: "poll_policy", kind: "scalar", T: 9 },
|
|
52
|
+
{ no: 19, name: "has_unread_mention", kind: "scalar", T: 8 },
|
|
53
|
+
{ no: 20, name: "has_unread_reaction", kind: "scalar", T: 8 },
|
|
50
54
|
]);
|
|
51
55
|
static fromBinary(bytes, options) {
|
|
52
56
|
return new ChatGroupDto().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -31,6 +31,9 @@ message ChatGroupDto {
|
|
|
31
31
|
bool system_notices = 17;
|
|
32
32
|
// Who may create polls: mods | everyone
|
|
33
33
|
string poll_policy = 18;
|
|
34
|
+
// Viewer has unseen mentions/replies or reactions in this group.
|
|
35
|
+
bool has_unread_mention = 19;
|
|
36
|
+
bool has_unread_reaction = 20;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
message ChatGroupListResponse {
|