Search...

channelLink

export declare function channelLink<C extends Snowflake>(channelId: C): `https://discord.com/channels/@me/${C}`;
export 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