struct Cryscord::CommandOptionChoice
- Cryscord::CommandOptionChoice
- Struct
- Value
- Object
Defined in:
command_option_choice.crConstructors
Instance Method Summary
- #clone
- #copy_with(name _name = @name, value _value = @value, name_localizations _name_localizations = @name_localizations)
- #name : String
- #name_localizations : Hash(String, String)
- #value : String | Int32 | Int64
Constructor Detail
def self.new(name : String, value : String | Int32 | Int64, name_localizations : Hash(String, String) = LocaleHash.new)
#
Instance Method Detail
def copy_with(name _name = @name, value _value = @value, name_localizations _name_localizations = @name_localizations)
#