Get users

This commit is contained in:
2026-08-22 12:14:11 +02:00
parent 78f5544952
commit 546670b9d2
3 changed files with 44 additions and 8 deletions
+8
View File
@@ -15,6 +15,10 @@ export type ClientMethod =
| {
method: "Messages";
messages: Record<string, StoredMessage[]>;
}
| {
method: "Users";
users: Record<string, ClientMeta>;
};
export type ServerMethod =
@@ -41,4 +45,8 @@ export type ServerMethod =
method: "GetMessages";
channel_id: string;
chunk: number;
}
| {
method: "GetUsers";
pubkeys: string[];
};