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
Snowflake ChannelId extends
This is inferred by the supplied channel id
Parameters
ChannelId channelId:
The channel's id