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
ChannelIdSnowflakeNoThis is inferred by the supplied channel id
MessageIdSnowflakeNoThis is inferred by the supplied message id
NameTypeOptionalDescription
channelIdChannelIdNoThe channel's id
messageIdMessageIdNoThe message's id