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": "claro",
"direct_messages": true,
"global_readership": false,
"message_history": true,
"mid": "nihil",
"muted": true,
"mutedRestriction": true,
"type": "groupchat",
"uiState": {
"changedSinceHidden": false,
"hidden": false
},
"unread_count": 8074836882279993
},
{
"cid": "brevis",
"direct_messages": false,
"global_readership": false,
"message_history": false,
"mid": "tepidus",
"muted": false,
"mutedRestriction": false,
"type": "chat",
"uiState": {
"changedSinceHidden": true,
"hidden": false
},
"unread_count": 5300175046907080
},
{
"cid": "versus",
"direct_messages": true,
"global_readership": false,
"message_history": true,
"mid": "quo",
"muted": true,
"mutedRestriction": false,
"type": "chat",
"uiState": {
"changedSinceHidden": true,
"hidden": false
},
"unread_count": 2692431996404535
},
{
"cid": "volutabrum",
"direct_messages": true,
"global_readership": false,
"message_history": false,
"mid": "saepe",
"muted": true,
"mutedRestriction": true,
"type": "chat",
"uiState": {
"changedSinceHidden": false,
"hidden": false
},
"unread_count": 1052264979937012
}
]
}