function channelMention

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

Formats a channel id into a channel mention.

Type Parameters

C extends Snowflake

This is inferred by the supplied channel id

Parameters

channelId: C
The channel id to format