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