messageLink

export declare function messageLink<ChannelId extends Snowflake, MessageId extends Snowflake>(channelId: ChannelId, messageId: MessageId): `https://discord.com/channels/@me/${ChannelId}/${MessageId}`;
export declare function messageLink<ChannelId extends Snowflake, MessageId extends Snowflake>(channelId: ChannelId, messageId: MessageId): `https://discord.com/channels/@me/${ChannelId}/${MessageId}`;
Formats a message link for a direct message channel.
NameConstraintsOptionalDefaultDescription
ChannelIdSnowflakeNo
This is inferred by the supplied channel id
MessageIdSnowflakeNo
This is inferred by the supplied message id
NameTypeOptionalDescription
channelIdChannelIdNo
The channel's id
messageIdMessageIdNo
The message's id