Support for Group Member Labels

This commit is contained in:
Scott Nonnenberg
2026-02-03 04:06:25 +10:00
committed by GitHub
parent d173db816b
commit 09c71ad356
60 changed files with 1794 additions and 345 deletions
+5 -3
View File
@@ -325,11 +325,13 @@ message Group {
ADMINISTRATOR = 2;
}
bytes userId = 1;
bytes user_id = 1;
Role role = 2;
reserved /*profileKey*/ 3; // This field is ignored in Backups, in favor of Contact frames for members
reserved /*presentation*/ 4; // This field is deprecated in the context of static group state
uint32 joinedAtVersion = 5;
string label_emoji = 6;
string label_string = 7;
}
message MemberPendingProfileKey {
@@ -339,14 +341,14 @@ message Group {
}
message MemberPendingAdminApproval {
bytes userId = 1;
bytes user_id = 1;
reserved /*profileKey*/ 2; // This field is ignored in Backups, in favor of Contact frames for members
reserved /*presentation*/ 3; // This field is deprecated in the context of static group state
uint64 timestamp = 4;
}
message MemberBanned {
bytes userId = 1;
bytes user_id = 1;
uint64 timestamp = 2;
}