channelMention
declare function channelMention<C extends Snowflake>(channelId: C): `<#${C}>`;
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 | None |
Name | Type | Optional | Description |
---|---|---|---|
channelId | C | No | The channel ID to format |