GET All Chat Info
https://127.0.0.1:{port}/chat/v6/conversations Get information about all active conversations
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 AllChatInfoResponse = {
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": "vae",
"direct_messages": false,
"global_readership": true,
"message_history": true,
"mid": "et",
"muted": true,
"mutedRestriction": true,
"type": "groupchat",
"uiState": {
"changedSinceHidden": false,
"hidden": false
},
"unread_count": 2683979841603843
},
{
"cid": "vallum",
"direct_messages": true,
"global_readership": false,
"message_history": false,
"mid": "ciminatio",
"muted": false,
"mutedRestriction": true,
"type": "chat",
"uiState": {
"changedSinceHidden": true,
"hidden": true
},
"unread_count": 7514443172545650
},
{
"cid": "tres",
"direct_messages": false,
"global_readership": true,
"message_history": true,
"mid": "bellicus",
"muted": true,
"mutedRestriction": true,
"type": "groupchat",
"uiState": {
"changedSinceHidden": false,
"hidden": true
},
"unread_count": 8924811685019090
}
]
}