1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/config/schemas/lobbyProtocol/requestChatHistory.json

29 lines
776 B
JSON
Raw Normal View History

2024-03-13 23:03:13 +02:00
{
"type" : "object",
"$schema" : "http://json-schema.org/draft-06/schema",
"title" : "Lobby protocol: requestChatHistory",
"description" : "Sent by client when player opens chat channel for which he has no history",
"required" : [ "type", "channelType", "channelName" ],
"additionalProperties" : false,
"properties" : {
"type" :
{
"type" : "string",
"const" : "requestChatHistory"
},
"channelType" :
{
"type" : "string",
"enum" : [ "global", "match", "player" ],
"description" : "Type of room to which these messages have been set."
},
"channelName" :
{
"type" : "string",
"description" : "Name of room to which these messages have been set. For 'global' this is language, for 'match' and 'player' this is receiver UUID"
}
}
}