feat: enhance chat UI with badges, superchat and membership display

This commit is contained in:
Yusuf İpek
2025-10-05 04:42:47 +03:00
parent 99e1762068
commit 47c9a67362
7 changed files with 552 additions and 113 deletions
+19
View File
@@ -1,6 +1,25 @@
export type Badge = {
type: 'moderator' | 'member' | 'verified' | 'custom';
label?: string;
icon?: string;
};
export type SuperChatInfo = {
amount: string;
currency: string;
color: string;
};
export type ChatMessage = {
id: string;
author: string;
authorPhoto?: string;
text: string;
publishedAt: string;
badges?: Badge[];
isModerator?: boolean;
isMember?: boolean;
isVerified?: boolean;
superChat?: SuperChatInfo;
membershipGift?: boolean;
};