API v9InterfacesRESTGetAPIChannelMessagesQueryVersion: 0.37.104On 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?: numberMax number of messages to return (1-100)@default50
https://discord.com/developers/docs/resources/channel#get-channel-messages