Class: TD::Types::OptionValue::Integer

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

Overview

Represents an integer option.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#valueInteger

The value of the option.

Returns:

  • (Integer)

    the current value of value



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

def value
  @value
end