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

#keyString

Member's key.

Returns:

  • (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