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.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | Snowflake | No | This is inferred by the supplied channel id |
Name | Type | Optional | Description |
---|---|---|---|
channelId | C | No | The channel id to format |