Class: TD::Types::OptionValue::String

Inherits:
TD::Types::OptionValue show all
Defined in:
lib/tdlib/types/option_value/string.rb

Overview

Represents a string option.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#valueString

The value of the option.

Returns:

  • (String)

    the current value of value



5
6
7
# File 'lib/tdlib/types/option_value/string.rb', line 5

def value
  @value
end