function channelMention

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

Formats a channel id into a channel mention.

Type Parameters

ChannelId extends Snowflake

This is inferred by the supplied channel id

Parameters

channelId: ChannelId
The channel id to format