Class: TD::Types::Update::Option

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/option.rb

Overview

An option changed its value.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#nameTD::Types::String

The option name.

Returns:

  • (TD::Types::String)

    the current value of name



6
7
8
# File 'lib/tdlib/types/update/option.rb', line 6

def name
  @name
end

#valueTD::Types::OptionValue

The new option value.

Returns:



6
7
8
# File 'lib/tdlib/types/update/option.rb', line 6

def value
  @value
end