Search...

channelMention

declare function channelMention<C extends Snowflake>(channelId: C): `<#${C}>`;
declare function channelMention<C extends Snowflake>(channelId: C): `<#${C}>`;
Formats a channel ID into a channel mention
NameConstraintsOptionalDefaultDescription
CSnowflakeNoNone
NameTypeOptionalDescription
channelIdCNoThe channel ID to format