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