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.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | Snowflake | No | None |
Name | Type | Optional | Description |
---|---|---|---|
channelId | C | No | The channel's id |