Search Results for

    Show / Hide Table of Contents

    Interface IDiscordInteractionRequest

    Represents a discord Interaction Request Structure API model. Docs: https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure

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

    Properties

    | Improve this Doc View Source

    ComponentType

    For components, the type of the component.

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

    CustomId

    For components, the custom_id of the component.

    Declaration
    string CustomId { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Id

    The ID of the invoked command.

    Declaration
    ulong Id { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    Name

    The name of the invoked command.

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Options

    The params + values from the user.

    Declaration
    IEnumerable<IDiscordInteractionOption> Options { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordInteractionOption>
    | Improve this Doc View Source

    Resolved

    Converted users + roles + channels.

    Declaration
    IDiscordInteractionResolved Resolved { get; set; }
    Property Value
    Type Description
    IDiscordInteractionResolved
    | Improve this Doc View Source

    TargetId

    Id the of user or message targeted by a user or message command.

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

    Type

    The type of the invoked command.

    Declaration
    DiscordApplicationCommandTypes Type { get; set; }
    Property Value
    Type Description
    DiscordApplicationCommandTypes
    | Improve this Doc View Source

    Values

    The values the user selected.

    Declaration
    IDiscordSelectOption Values { get; set; }
    Property Value
    Type Description
    IDiscordSelectOption
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX