Nostrum.Struct.Channel.mention
You're seeing just the function
mention
, go back to Nostrum.Struct.Channel module for more information.
Specs
Formats a Nostrum.Struct.Channel
into a mention.
Examples
iex> channel = %Nostrum.Struct.Channel{id: 381889573426429952}
...> Nostrum.Struct.Channel.mention(channel)
"<#381889573426429952>"