currentlyRequestedChatInput: {
    [playerId: string]: {
        anyInput: {
            [id: string]: {
                id?: string;
                input?: string;
                request?: string | RawMessage | (string | RawMessage)[];
                time: number;
            };
        };
        conditionalInput: {
            [id: string]: {
                conditions: (
                    player: Player,
                    message: string,
                    event: ChatSendBeforeEvent,
                ) => boolean;
                expireConditions?: (requestObject: { [k: string]: any }) => boolean;
                expireTime: number;
                id?: string;
                input?: string;
                request?: string | RawMessage | (string | RawMessage)[];
                time: number;
            };
        };
    };
} = ...

Type declaration

  • [playerId: string]: {
        anyInput: {
            [id: string]: {
                id?: string;
                input?: string;
                request?: string | RawMessage | (string | RawMessage)[];
                time: number;
            };
        };
        conditionalInput: {
            [id: string]: {
                conditions: (
                    player: Player,
                    message: string,
                    event: ChatSendBeforeEvent,
                ) => boolean;
                expireConditions?: (requestObject: { [k: string]: any }) => boolean;
                expireTime: number;
                id?: string;
                input?: string;
                request?: string | RawMessage | (string | RawMessage)[];
                time: number;
            };
        };
    }