import { EnumBooleanDigitized } from "../@types"; import { ComaSeparatedValues } from "./sessionstate"; import { ChatFlags } from "../protocol/live/livechat"; /** * Type that definitely has `chatId` field */ export declare type chatIdType = { chatID: string; }; /** * chat state */ export declare type ChatState = chatIdType & { /** single ability */ canSingle?: EnumBooleanDigitized; /** single status */ isSingle?: EnumBooleanDigitized; /** audio ability */ hasAudio?: EnumBooleanDigitized; /** audio state */ audioMuted?: EnumBooleanDigitized; /** videotime limit */ videolimit?: string; /** videotime limit left */ videolimit_left?: string; /** texttime limit */ textlimit?: string; /** timelimit */ timelimit?: string; /** preview video time limit */ previewlimit?: string; below_threshold?: EnumBooleanDigitized; /** HLS is allowed */ useHLSJS?: EnumBooleanDigitized; /** TIP-function ability */ canTip?: EnumBooleanDigitized; /** Preview ability */ canPreview?: EnumBooleanDigitized; /** voyuer into single chat state */ voyeur2single?: EnumBooleanDigitized; /** charge ability */ canCharge?: EnumBooleanDigitized; /** the chat is lobby mass show */ isLobby?: EnumBooleanDigitized; /** text ability */ canText?: EnumBooleanDigitized; /** c2c ability */ canCam2Cam?: EnumBooleanDigitized; /** video ability */ canVideo?: EnumBooleanDigitized; flags?: ComaSeparatedValues | ChatFlags; /** clipping */ recordClip?: EnumBooleanDigitized; canClip?: EnumBooleanDigitized; };