RestCord logo RestCord




If operating on a guild channel, this endpoint requires the VIEW_CHANNEL permission to be present on the current user. If the current user is missing the 'READ_MESSAGE_HISTORY' permission in the channel then this will return no messages (since they cannot read the message history).


Name Type Required Default snowflake true null
around snowflake false null
before snowflake false null
after snowflake false null
limit integer false 50


Returns the messages for a channel.

Can Return: