Nostrum.Struct.Channel.mention

You're seeing just the function mention, go back to Nostrum.Struct.Channel module for more information.

Specs

mention(t()) :: String.t()

Formats a Nostrum.Struct.Channel into a mention.

Examples

iex> channel = %Nostrum.Struct.Channel{id: 381889573426429952}
...> Nostrum.Struct.Channel.mention(channel)
"<#381889573426429952>"