Skip to content

ChannelLogsQueryOptions

typedef · Source

The parameters to pass in when requesting previous messages from a channel. around, before and after are mutually exclusive. All the parameters are optional. Type: Object

Properties

limit

optional

limit: number

Number of messages to acquire

Default: 50

before

optional

before: Snowflake

The message's id to get the messages that were posted before it

after

optional

after: Snowflake

The message's id to get the messages that were posted after it

around

optional

around: Snowflake

The message's id to get the messages that were posted around it

Unofficial software. Not affiliated with or supported by Discord.