Discord.https - v3.0.16
    Preparing search index...

    Function messageLink

    • Formats a message link for a direct message channel.

      Type Parameters

      • ChannelId extends string

        This is inferred by the supplied channel id

      • MessageId extends string

        This is inferred by the supplied message id

      Parameters

      Returns `https://discord.com/channels/@me/${ChannelId}/${MessageId}`

    • Formats a message link for a guild channel.

      Type Parameters

      • ChannelId extends string

        This is inferred by the supplied channel id

      • MessageId extends string

        This is inferred by the supplied message id

      • GuildId extends string

        This is inferred by the supplied guild id

      Parameters

      Returns `https://discord.com/channels/${GuildId}/${ChannelId}/${MessageId}`