Message
The Message payload. This is returned when you’re provided information about a pre-existing message.
| Field | Type | Description |
|---|---|---|
| id | Number | The ID of the message. |
| author | User | The message’s author. |
| content | String? | The message’s content. |
| reference? | Message | The message referenced by this message. |
| channel | SphereChannel | The channel in which the message is sent. |
| attachments | Array of Attachments | The attachments of this message. |
| embeds | Array of Embeds | The embeds of this message. |
| reactions | Array of Reactions | The reactions of this message. |
| _disguise? | MessageDisguise |
Example
{
"id": 4080402038782,
"author": {
"id": 48615849987333,
"username": "mlynar",
"social_credit": 9999.
"badges": 256,
"permissions": 8
}
"content": "Hello, World!"
"channel": {
"type": "TEXT",
"id": 4080402038789,
"sphere": 4080402038786,
"position": 1,
"name": "je-mappelle"
}
}