{
  "protocol": "NotifyChat",
  "imports": [
    {
      "path": "common.avdl",
      "type": "idl"
    },
    {
      "path": "chat_local.avdl",
      "type": "idl"
    }
  ],
  "types": [
    {
      "type": "enum",
      "name": "ChatActivityType",
      "symbols": [
        "RESERVED_0",
        "INCOMING_MESSAGE_1"
      ]
    },
    {
      "type": "record",
      "name": "ChatActivity",
      "fields": [
        {
          "type": "ChatActivityType",
          "name": "ActivityType"
        },
        {
          "type": [
            null,
            "Message"
          ],
          "name": "IncomingMessage"
        }
      ]
    }
  ],
  "messages": {
    "NewChatActivity": {
      "request": [
        {
          "name": "uid",
          "type": "UID"
        },
        {
          "name": "activity",
          "type": "ChatActivity"
        }
      ],
      "response": null,
      "notify": ""
    }
  },
  "namespace": "keybase.1"
}