Fetch Messages
Fetch multiple messages.
Path parameters
Query parameters
Maximum number of messages to fetch
For fetching nearby messages, this is `(limit + 2)`.
Maximum number of messages to fetch
For fetching nearby messages, this is `(limit + 2)`.
Message id before which messages should be fetched
Message id before which messages should be fetched
Message id after which messages should be fetched
Message id after which messages should be fetched
Message sort direction
Message id to search around
Specifying 'nearby' ignores 'before', 'after' and 'sort'. It will also take half of limit rounded as the limits to each side. It also fetches the message ID specified.
Message id to search around
Specifying 'nearby' ignores 'before', 'after' and 'sort'. It will also take half of limit rounded as the limits to each side. It also fetches the message ID specified.
Whether to include user (and member, if server channel) objects
Whether to include user (and member, if server channel) objects
Response
Example response
[
{
"member": {
"joined_at": "1970-01-01T00:00:00Z",
"timeout": "1970-01-01T00:00:00Z"
},
"system": {
"finished_at": "1970-01-01T00:00:00Z"
},
"edited": "1970-01-01T00:00:00Z"
}
]