function channelMention

declare function channelMention<C extends Snowflake>(channelId: C): `<#${C}>`;

Formats a channel ID into a channel mention

Type Parameters

C extends Snowflake

Parameters

channelId: C
The channel ID to format