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 Details

    • onlyLocal

      public boolean onlyLocal
      If 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

      public GetLocalizationTargetInfo​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details