GET Chat History

https://127.0.0.1:{port}/chat/v6/messages?cid={cid}

Get chat history for all conversations or a specific conversation if the cid is provided

Headers:

URL Parameters:

Query Parameters:

Other Variables:

Response:

type ChatHistoryResponse = {
    messages: {
        body: string;
        cid: string;
        game_name: string;
        game_tag: string;
        id: string;
        mid: string;
        name: string;
        pid: string;
        /** Player UUID */
        puuid: string;
        read: boolean;
        region: string;
        /** Time in milliseconds since epoch */
        time: string;
        type: "chat" | "groupchat";
    }[];
};