java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.LocalizationTargetInfo>
it.tdlight.jni.TdApi.GetLocalizationTargetInfo
- Enclosing class:
- TdApi
public static final class TdApi.GetLocalizationTargetInfo
extends TdApi.Function<TdApi.LocalizationTargetInfo>
Returns information about the current
localization target. This is an offline
request if onlyLocal is true. Can be
called before authorization.
Returns LocalizationTargetInfo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
If true, returns only locally available information without sending network requests. -
Constructor Summary
ConstructorDescriptionReturns information about the current localization target.GetLocalizationTargetInfo
(boolean onlyLocal) Returns information about the current localization target.Returns information about the current localization target. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
onlyLocal
public boolean onlyLocalIf true, returns only locally available information without sending network requests. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetLocalizationTargetInfo
public GetLocalizationTargetInfo()Returns information about the current localization target. This is an offline request if onlyLocal is true. Can be called before authorization.Returns
LocalizationTargetInfo
-
GetLocalizationTargetInfo
public GetLocalizationTargetInfo(boolean onlyLocal) Returns information about the current localization target. This is an offline request if onlyLocal is true. Can be called before authorization.Returns
LocalizationTargetInfo
- Parameters:
onlyLocal
- boolean If true, returns only locally available information without sending network requests.
-
GetLocalizationTargetInfo
Returns information about the current localization target. This is an offline request if onlyLocal is true. Can be called before authorization.Returns
LocalizationTargetInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-