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": "adulescens",
"direct_messages": true,
"global_readership": false,
"message_history": true,
"mid": "aranea",
"muted": true,
"mutedRestriction": true,
"type": "groupchat",
"uiState": {
"changedSinceHidden": true,
"hidden": true
},
"unread_count": 3796631166404347
},
{
"cid": "addo",
"direct_messages": false,
"global_readership": true,
"message_history": true,
"mid": "apud",
"muted": false,
"mutedRestriction": true,
"type": "groupchat",
"uiState": {
"changedSinceHidden": true,
"hidden": false
},
"unread_count": 5449257402973452
},
{
"cid": "error",
"direct_messages": false,
"global_readership": true,
"message_history": false,
"mid": "cervus",
"muted": false,
"mutedRestriction": true,
"type": "chat",
"uiState": {
"changedSinceHidden": false,
"hidden": false
},
"unread_count": 5428764911496807
},
{
"cid": "solio",
"direct_messages": true,
"global_readership": true,
"message_history": true,
"mid": "optio",
"muted": false,
"mutedRestriction": false,
"type": "groupchat",
"uiState": {
"changedSinceHidden": false,
"hidden": true
},
"unread_count": 379519112334489
}
]
}