Class: TD::Types::JsonObjectMember

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/json_object_member.rb

Overview

Represents one member of a JSON object.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#keyTD::Types::String

Member’s key.

Returns:

  • (TD::Types::String)

    the current value of key



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

def key
  @key
end

#valueTD::Types::JsonValue

Member’s value.

Returns:



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

def value
  @value
end