messageLink
export declare function messageLink<C extends Snowflake, M extends Snowflake>(channelId: C, messageId: M): `https://discord.com/channels/@me/${C}/${M}`;
export declare function messageLink<C extends Snowflake, M extends Snowflake>(channelId: C, messageId: M): `https://discord.com/channels/@me/${C}/${M}`;
Formats a message link for a direct message channel.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | Snowflake | No | None | |
M | Snowflake | No | None |
Name | Type | Optional | Description |
---|---|---|---|
channelId | C | No | The channel's id |
messageId | M | No | The message's id |