Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] Message Pinning #80

Closed
jhgg opened this issue Jun 17, 2016 · 2 comments
Closed

[API] Message Pinning #80

jhgg opened this issue Jun 17, 2016 · 2 comments

Comments

@jhgg
Copy link
Contributor

jhgg commented Jun 17, 2016

The API portion of message pinning is live (and the client update has rolled out to Canary).

Gateway Changes

  • The MESSAGE_CREATE and MESSAGE_UPDATE now have a pinned property.

API Changes

  • New PUT/DELETE to /api/:channel_id/pins/message_id.
  • New GET to /api/:channel_id/pins to get a list of pinned messages.
  • New error code for pinned messages.
  • MANAGE_MESSAGES is the required permission to pin/unpin stuff.
  • New API endpoint params to get messages "around" a single message ID.
@MinnDevelopment
Copy link
Contributor

New PUT/DELETE to /api/:channel_id/pins/message_id.

It's /api/channels/:channel_id/pins/:message_id though, isn't it?

@jhgg
Copy link
Contributor Author

jhgg commented Jun 21, 2016

did i forget a colon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants