class TD::LanguagePackInfo

Included Modules

Defined in:

telegram/types/language_pack_info.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(id : String, base_language_pack_id : String, name : String, native_name : String, plural_code : String, total_string_count : Int32, translated_string_count : Int32, local_string_count : Int32, translation_url : String, is_official : Bool = false, is_rtl : Bool = false, is_beta : Bool = false, is_installed : Bool = false) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def base_language_pack_id : String #

def base_language_pack_id=(base_language_pack_id : String) #

def id : String #

def id=(id : String) #

def is_beta : Bool #

def is_beta=(is_beta : Bool) #

def is_installed : Bool #

def is_installed=(is_installed : Bool) #

def is_official : Bool #

def is_official=(is_official : Bool) #

def is_rtl : Bool #

def is_rtl=(is_rtl : Bool) #

def local_string_count : Int32 #

def local_string_count=(local_string_count : Int32) #

def name : String #

def name=(name : String) #

def native_name : String #

def native_name=(native_name : String) #

def object_type : String #

def object_type=(object_type : String) #

def plural_code : String #

def plural_code=(plural_code : String) #

def total_string_count : Int32 #

def total_string_count=(total_string_count : Int32) #

def translated_string_count : Int32 #

def translated_string_count=(translated_string_count : Int32) #

def translation_url : String #

def translation_url=(translation_url : String) #