Class TdApi.GetLocalizationTargetInfo

Enclosing class:
TdApi

public static 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
      If 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

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