diff --git a/x8.md b/x8.md index da655fe..ea780c9 100644 --- a/x8.md +++ b/x8.md @@ -63,13 +63,15 @@ The type `Message` represents a text message exchanged between clients. ### Payload Payload is a struct (a compound data type) with the following fields (order is important): -1. text `string` -2. content type `enum` (more in [Content types](#content-types)) -3. message type `enum` (more in [Message types](#message-types)) -4. clock `int64` -5. timestamp `int64` -6. content `struct { chat-id string, text string }` +| Field | Name | Type | +| ----- | ---- | ---- | +| 1 | text | `string` | +| 2 | content type | `enum` (more in [Content types](#content-types)) | +| 3 | message type | `enum` (more in [Message types](#message-types)) | +| 4 | clock | `int64` | +| 5 | timestamp | `int64` | +| 6 | content | `struct { chat-id string, text string }` | ### Content types