Search Results for

    Show / Hide Table of Contents

    Class InteractivityConfiguration

    Configuration class for your Interactivity extension

    Inheritance
    System.Object
    InteractivityConfiguration
    Namespace: DisCatSharp.Interactivity
    Assembly: DisCatSharp.Interactivity.dll
    Syntax
    public sealed class InteractivityConfiguration

    Constructors

    | Improve this Doc View Source

    InteractivityConfiguration()

    Creates a new instance of InteractivityConfiguration.

    Declaration
    [ActivatorUtilitiesConstructor]
    public InteractivityConfiguration()
    | Improve this Doc View Source

    InteractivityConfiguration(InteractivityConfiguration)

    Creates a new instance of InteractivityConfiguration, copying the properties of another configuration.

    Declaration
    public InteractivityConfiguration(InteractivityConfiguration other)
    Parameters
    Type Name Description
    InteractivityConfiguration other

    Configuration the properties of which are to be copied.

    Properties

    | Improve this Doc View Source

    AckPaginationButtons

    Whether interactivity should ACK buttons that are pushed. Setting this to true will also prevent subsequent event handlers from running.

    Declaration
    public bool AckPaginationButtons { set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ButtonBehavior

    How to handle buttons after pagination ends.

    Declaration
    public ButtonPaginationBehavior ButtonBehavior { set; }
    Property Value
    Type Description
    ButtonPaginationBehavior
    | Improve this Doc View Source

    PaginationBehaviour

    How to handle pagination. Defaults to WrapAround.

    Declaration
    public PaginationBehaviour PaginationBehaviour { set; }
    Property Value
    Type Description
    PaginationBehaviour
    | Improve this Doc View Source

    PaginationButtons

    Buttons to use for pagination.

    Declaration
    public PaginationButtons PaginationButtons { set; }
    Property Value
    Type Description
    PaginationButtons
    | Improve this Doc View Source

    PaginationDeletion

    How to handle pagination deletion. Defaults to DeleteEmojis.

    Declaration
    public PaginationDeletion PaginationDeletion { set; }
    Property Value
    Type Description
    PaginationDeletion
    | Improve this Doc View Source

    PaginationEmojis

    Emojis to use for pagination

    Declaration
    public PaginationEmojis PaginationEmojis { set; }
    Property Value
    Type Description
    PaginationEmojis
    | Improve this Doc View Source

    PollBehaviour

    What to do after the poll ends

    Declaration
    public PollBehaviour PollBehaviour { set; }
    Property Value
    Type Description
    PollBehaviour
    | Improve this Doc View Source

    ResponseBehavior

    How to handle invalid interactions. Defaults to Ignore.

    Declaration
    public InteractionResponseBehavior ResponseBehavior { set; }
    Property Value
    Type Description
    InteractionResponseBehavior
    | Improve this Doc View Source

    ResponseMessage

    The message to send to the user when processing invalid interactions. Ignored if ResponseBehavior is not set to Respond.

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

    Timeout

    Sets the default interactivity action timeout.

    Defaults to 1 minute.

    Declaration
    public TimeSpan Timeout { set; }
    Property Value
    Type Description
    System.TimeSpan

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems