Fixed messages format
This commit is contained in:
13
README.md
13
README.md
@@ -257,17 +257,16 @@ if __name__ == "__main__":
|
||||
|
||||
## Message Format
|
||||
|
||||
Messages must conform to a specific JSON format:
|
||||
Messages should conform to a specific JSON format:
|
||||
|
||||
```json
|
||||
{
|
||||
"service": "service_name",
|
||||
"environment": "production",
|
||||
"exception": "ErrorType",
|
||||
"message": "Error message text",
|
||||
"type": "error",
|
||||
"datetime": "2024-01-01T12:00:00"
|
||||
"id":"019f42ff-de59-7a17-8189-a36b68191a71",
|
||||
"source":"019f42ff-dff9-7b68-832f-a6323a078105",
|
||||
"type":"user.message",
|
||||
"message":"Hello my friend, i'm there"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
See `examples/` directory for sample messages.
|
||||
|
||||
Reference in New Issue
Block a user