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 ApplicationCommandOptionChoiceProperties[])

public InteractionCallbackChoicesDataProperties AddChoices(params ApplicationCommandOptionChoiceProperties[] choices)

Parameters

choices ApplicationCommandOptionChoiceProperties[]

Returns

InteractionCallbackChoicesDataProperties

AddChoices(IEnumerable<ApplicationCommandOptionChoiceProperties>)

public InteractionCallbackChoicesDataProperties AddChoices(IEnumerable<ApplicationCommandOptionChoiceProperties> choices)

Parameters

choices IEnumerable<ApplicationCommandOptionChoiceProperties>

Returns

InteractionCallbackChoicesDataProperties

WithChoices(IEnumerable<ApplicationCommandOptionChoiceProperties>?)

public InteractionCallbackChoicesDataProperties WithChoices(IEnumerable<ApplicationCommandOptionChoiceProperties>? choices)

Parameters

choices IEnumerable<ApplicationCommandOptionChoiceProperties>

Returns

InteractionCallbackChoicesDataProperties