Class: TD::Types::LanguagePackString

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

Overview

Represents one language pack string.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#keyTD::Types::String

String key.

Returns:

  • (TD::Types::String)

    the current value of key



7
8
9
# File 'lib/tdlib/types/language_pack_string.rb', line 7

def key
  @key
end

#valueTD::Types::LanguagePackStringValue

String value; pass null if the string needs to be taken from the built-in English language pack.

Returns:



7
8
9
# File 'lib/tdlib/types/language_pack_string.rb', line 7

def value
  @value
end