Discord

List pinned messages

Changed on

Returns 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).

get/v1/discord/channels/{channelId}/pins

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/discord/channels/{channelId}/pins
  • Auth: HTTP bearer

Path parameters

channelIdstring required

Discord channel snowflake.

Query parameters

accountIdstring required

SocialAccount _id of any Discord account in the same guild.

Response

Pinned messages.

Changes

    • warning

      added the new account enum value to the / response property for the response 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

      added the optional property to the response with the status