Package org.drinkless.tdlib
Class TdApi.DeleteLanguagePack
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.DeleteLanguagePack
-
- Enclosing class:
- TdApi
public static class TdApi.DeleteLanguagePack extends TdApi.Function
Deletes all information about a language pack in the current localization target. The language pack which is currently in use (including base language pack) or is being synchronized can't be deleted. Can be called before authorization.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringlanguagePackIdIdentifier of the language pack to delete.
-
Constructor Summary
Constructors Constructor Description DeleteLanguagePack()Default constructor for a function, which deletes all information about a language pack in the current localization target.DeleteLanguagePack(String languagePackId)Creates a function, which deletes all information about a language pack in the current localization target.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
languagePackId
public String languagePackId
Identifier of the language pack to delete.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeleteLanguagePack
public DeleteLanguagePack()
Default constructor for a function, which deletes all information about a language pack in the current localization target. The language pack which is currently in use (including base language pack) or is being synchronized can't be deleted. Can be called before authorization.Returns
Ok
-
DeleteLanguagePack
public DeleteLanguagePack(String languagePackId)
Creates a function, which deletes all information about a language pack in the current localization target. The language pack which is currently in use (including base language pack) or is being synchronized can't be deleted. Can be called before authorization.Returns
Ok- Parameters:
languagePackId- Identifier of the language pack to delete.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-