channelLink
Formats a channel link for a direct message channel.
declare function channelLink<C extends Snowflake>(channelId: C): `https://discord.com/channels/@me/${C}`;
declare function channelLink<C extends Snowflake>(channelId: C): `https://discord.com/channels/@me/${C}`;
Name | Type | Optional | Description |
---|---|---|---|
channelId | C | No | The channel's id |