feat(plugins): minimal account API (#6554)

Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
This commit is contained in:
nerix
2025-12-05 15:56:51 +01:00
committed by GitHub
parent c4ed716c33
commit c67953d14f
10 changed files with 266 additions and 0 deletions
+10
View File
@@ -376,6 +376,16 @@ declare namespace c2 {
Original,
Repost,
}
class TwitchAccount implements IWeakResource {
is_valid(): boolean;
user_login(): string;
user_id(): string;
color(): string;
is_anon(): boolean;
}
function current_account(): TwitchAccount;
}
declare module "chatterino.json" {