| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // 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;
- }
- // ChatHub.ReceiveParticipants 페이로드 — 접속 참여자 목록 row (SignalR camelCase)
- export interface ChatParticipant {
- memberName: string;
- isGuest: boolean;
- sid?: string|null;
- icon?: string|null;
- level: number;
- }
- // GET/POST /api/mypage/chat-settings — 채팅 수신 설정 (초대/귓속말/팔로잉 접속 표시)
- export interface ChatSettings {
- allowInvite: boolean;
- allowWhisper: boolean;
- showFollowingOnline: boolean;
- }
|