Table of Contents

Class InteractionCallbackChoicesDataProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class InteractionCallbackChoicesDataProperties
Inheritance
InteractionCallbackChoicesDataProperties
Inherited Members

Constructors

InteractionCallbackChoicesDataProperties(IEnumerable<ApplicationCommandOptionChoiceProperties>?)

public InteractionCallbackChoicesDataProperties(IEnumerable<ApplicationCommandOptionChoiceProperties>? choices)

Parameters

choices IEnumerable<ApplicationCommandOptionChoiceProperties>

Properties

Choices

[JsonPropertyName("choices")]
public IEnumerable<ApplicationCommandOptionChoiceProperties>? Choices { get; set; }

Property Value

IEnumerable<ApplicationCommandOptionChoiceProperties>

Methods

AddChoices(params IEnumerable<ApplicationCommandOptionChoiceProperties>)

public InteractionCallbackChoicesDataProperties AddChoices(params IEnumerable<ApplicationCommandOptionChoiceProperties> choices)

Parameters

choices IEnumerable<ApplicationCommandOptionChoiceProperties>

Returns

InteractionCallbackChoicesDataProperties

WithChoices(IEnumerable<ApplicationCommandOptionChoiceProperties>?)

public InteractionCallbackChoicesDataProperties WithChoices(IEnumerable<ApplicationCommandOptionChoiceProperties>? choices)

Parameters

choices IEnumerable<ApplicationCommandOptionChoiceProperties>

Returns

InteractionCallbackChoicesDataProperties