Nostrum.Api.delete_pinned_channel_message

You're seeing just the function delete_pinned_channel_message, go back to Nostrum.Api module for more information.
Link to this function

delete_pinned_channel_message(channel_id, message_id)

View Source

Specs

delete_pinned_channel_message(
  Nostrum.Struct.Channel.id(),
  Nostrum.Struct.Message.id()
) :: error() | {:ok}

Unpins a message in a channel.

This endpoint requires the 'VIEW_CHANNEL', 'READ_MESSAGE_HISTORY', and 'MANAGE_MESSAGES' permissions. It fires the Nostrum.Consumer.message_update/0 and Nostrum.Consumer.channel_pins_update/0 events.

Returns {:ok} if successful. error otherwise.