channelLink

export declare function channelLink<ChannelId extends Snowflake>(channelId: ChannelId): `https://discord.com/channels/@me/${ChannelId}`;
export declare function channelLink<ChannelId extends Snowflake>(channelId: ChannelId): `https://discord.com/channels/@me/${ChannelId}`;
Formats a channel link for a direct message channel.
NameConstraintsOptionalDefaultDescription
ChannelIdSnowflakeNoThis is inferred by the supplied channel id
NameTypeOptionalDescription
channelIdChannelIdNoThe channel's id