Package org.drinkless.tdlib
Class TdApi.GetBackgroundUrl
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetBackgroundUrl
-
- Enclosing class:
- TdApi
public static class TdApi.GetBackgroundUrl extends TdApi.Function
Constructs a persistent HTTP URL for a background.Returns
HttpUrl
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringnameBackground name.TdApi.BackgroundTypetypeBackground type.
-
Constructor Summary
Constructors Constructor Description GetBackgroundUrl()Default constructor for a function, which constructs a persistent HTTP URL for a background.GetBackgroundUrl(String name, TdApi.BackgroundType type)Creates a function, which constructs a persistent HTTP URL for a background.
-
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
-
name
public String name
Background name.
-
type
public TdApi.BackgroundType type
Background type.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetBackgroundUrl
public GetBackgroundUrl()
Default constructor for a function, which constructs a persistent HTTP URL for a background.Returns
HttpUrl
-
GetBackgroundUrl
public GetBackgroundUrl(String name, TdApi.BackgroundType type)
Creates a function, which constructs a persistent HTTP URL for a background.Returns
HttpUrl- Parameters:
name- Background name.type- Background type.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-