Package it.tdlight.jni
Class TdApi.GetLocalizationTargetInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetLocalizationTargetInfo
- Enclosing class:
- TdApi
public static class TdApi.GetLocalizationTargetInfo extends TdApi.Function
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
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
onlyLocal
If true, returns only locally available information without sending network requests. -
Constructor Summary
Constructors Constructor Description GetLocalizationTargetInfo()
Returns information about the current localization target.GetLocalizationTargetInfo(boolean onlyLocal)
Returns information about the current localization target.GetLocalizationTargetInfo(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-