requestChatHistory.json 776 B

12345678910111213141516171819202122232425262728
  1. {
  2. "type" : "object",
  3. "$schema" : "http://json-schema.org/draft-06/schema",
  4. "title" : "Lobby protocol: requestChatHistory",
  5. "description" : "Sent by client when player opens chat channel for which he has no history",
  6. "required" : [ "type", "channelType", "channelName" ],
  7. "additionalProperties" : false,
  8. "properties" : {
  9. "type" :
  10. {
  11. "type" : "string",
  12. "const" : "requestChatHistory"
  13. },
  14. "channelType" :
  15. {
  16. "type" : "string",
  17. "enum" : [ "global", "match", "player" ],
  18. "description" : "Type of room to which these messages have been set."
  19. },
  20. "channelName" :
  21. {
  22. "type" : "string",
  23. "description" : "Name of room to which these messages have been set. For 'global' this is language, for 'match' and 'player' this is receiver UUID"
  24. }
  25. }
  26. }