API v10InterfacesRESTGetAPIChannelMessagesQueryVersion: 0.37.114On this pageRESTGetAPIChannelMessagesQuery https://discord.com/developers/docs/resources/channel#get-channel-messagesIndex PropertiesafteraroundbeforelimitProperties optionalafterafter?: stringGet messages after this message IDoptionalaroundaround?: stringGet messages around this message IDoptionalbeforebefore?: stringGet messages before this message IDoptionallimitlimit?: number = 50Max number of messages to return (1-100)
https://discord.com/developers/docs/resources/channel#get-channel-messages