List pinned messages
Changed onReturns the channel's pinned messages, sorted most-recently-pinned first. Discord caps a channel at 50 pinned messages and returns the full list unpaginated.
Bot needs READ_MESSAGE_HISTORY in the channel (granted by default BOT_PERMISSIONS).
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/discord/channels/{channelId}/pins
- Auth: HTTP bearer
Path parameters
Discord channel snowflake.
Query parameters
SocialAccount _id of any Discord account in the same guild.
Response
Pinned messages.
Changes
- warning
added the new
accountenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info