// GET /api/chat/rooms/{roomKey}/messages 응답 (SSR 초기 로드용 — 익명 허용)
export interface ChatRoomHistory {
	roomKey: string;
	notice: string|null;
	slowModeSeconds: number;
	messages: ChatMessage[];
}

export interface ChatMessage {
	memberID: number;
	memberSID: string;
	memberName: string;
	content: string;
	sentAt: string;
	source?: string;
	youTubeChannelId?: string|null;

	// 뱃지 (우선순위: 칭호 > 등급 > 아이콘)
	titleIconUrl?: string|null;
	titleName?: string|null;
	titleColor?: string|null;
	gradeImageUrl?: string|null;
	gradeTextColor?: string|null;
	memberIcon?: string|null;
}
