GET Pre-Game Chat Info
https://127.0.0.1:{port}/chat/v6/conversations/ares-pregame Get information about the pre-game chat
Headers
-
Authorization: Basic {base64 encoded "riot:{lockfile password}"}
URL Parameters
-
{port}The port can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile) when the game is running. The file has the formatname:pid:port:password:protocol
Other Variables
-
lockfile passwordThe password can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile) when the game is running. The file has the formatname:pid:port:password:protocol
Response
type Pre-GameChatInfoResponse = {
conversations: {
cid: string;
direct_messages: boolean;
global_readership: boolean;
message_history: boolean;
mid: string;
muted: boolean;
mutedRestriction: boolean;
type: "groupchat" | "chat";
uiState: {
changedSinceHidden: boolean;
hidden: boolean;
};
unread_count: number;
}[];
}; {
"conversations": [
{
"cid": "convoco",
"direct_messages": false,
"global_readership": false,
"message_history": true,
"mid": "audax",
"muted": false,
"mutedRestriction": true,
"type": "chat",
"uiState": {
"changedSinceHidden": false,
"hidden": true
},
"unread_count": 5741380448387544
}
]
}