Overload 1
Overload 2
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.
Parameters
C channelId:
The channel's id
M messageId:
The message's id