Module tdlight.api

Class 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 Details

    • onlyLocal

      public boolean onlyLocal
      Pass true to get 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 Pass true to get only locally available information without sending network requests.
    • GetLocalizationTargetInfo

      public GetLocalizationTargetInfo(DataInput input) throws IOException
      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