API v9InterfacesRESTGetAPIChannelMessagesQueryVersion: 0.37.110On 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 = ```ts 50 ```Max number of messages to return (1-100)
https://discord.com/developers/docs/resources/channel#get-channel-messages