Alchemy.Client.pin

You're seeing just the function pin, go back to Alchemy.Client module for more information.

Specs

pin(Alchemy.Message.t() | {channel_id(), message_id()}) ::
  {:ok, nil} | {:error, term()}

Pins a message to its channel.

Examples

Cogs.def pin_this do
  Client.pin(message)
end