Overload 1
Overload 2
export 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
This is inferred by the supplied channel id
Parameters
C channelId:
The channel's id