Overload 1
Overload 2
declare function channelLink<C extends Snowflake>(channelId: C): `https://discord.com/channels/@me/${C}`;
Formats a channel link for a direct message channel.
Type Parameters
Snowflake C extends
Parameters
C channelId:
The channel's id