Search...

channelMention

export declare function channelMention<C extends Snowflake>(channelId: C): `<#${C}>`;
export declare function channelMention<C extends Snowflake>(channelId: C): `<#${C}>`;
Formats a channel id into a channel mention.
NameConstraintsOptionalDefaultDescription
CSnowflakeNoThis is inferred by the supplied channel id
NameTypeOptionalDescription
channelIdCNoThe channel id to format