Search Results for

    Show / Hide Table of Contents

    Interface IDiscordMessageReference

    Represents a discord Message Reference Structure API model. Docs: https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure

    Namespace: Color_Chan.Discord.Core.Common.Models.Message
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordMessageReference

    Properties

    | Improve this Doc View Source

    ChannelId

    Id of the originating message's channel.

    Declaration
    ulong? ChannelId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    Remarks

    channel_id is optional when creating a reply, but will always be present when receiving an event/response that includes this data model.

    | Improve this Doc View Source

    FailIfNotExists

    When sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, default true.

    Declaration
    ulong? FailIfNotExists { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    GuildId

    Id of the originating message's guild.

    Declaration
    ulong? GuildId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    MessageId

    Id of the originating message.

    Declaration
    ulong? MessageId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX