mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-10 23:40:11 +00:00
23 lines
700 B
Python
23 lines
700 B
Python
telegram_callback = {
|
|
"type": "object",
|
|
"properties": {
|
|
"message": {
|
|
"type": "object",
|
|
"properties": {
|
|
"chat": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {"type": "number"},
|
|
"type": {"enum": ["group", "private"]},
|
|
"title": {"type": "string"},
|
|
"username": {"type": "string"}
|
|
},
|
|
"required": ["id", "type"]
|
|
},
|
|
"text": {"type": "string"}
|
|
},
|
|
"required": ["chat", "text"]
|
|
}
|
|
},
|
|
"required": ["message"]
|
|
}
|