Search...

channelLink

declare function channelLink<C extends Snowflake>(channelId: C): `https://discord.com/channels/@me/${C}`;
declare function channelLink<C extends Snowflake>(channelId: C): `https://discord.com/channels/@me/${C}`;
Formats a channel link for a direct message channel.
NameConstraintsOptionalDefaultDescription
CSnowflakeNoNone
NameTypeOptionalDescription
channelIdCNoThe channel's id