Package it.tdlight.jni
Class TdApi.GetBackgroundUrl
- Enclosing class:
- TdApi
public static class TdApi.GetBackgroundUrl extends TdApi.Function<TdApi.HttpUrl>
Constructs a persistent HTTP URL for a background.
Returns HttpUrl
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
name
Background name.TdApi.BackgroundType
type
Background type. -
Constructor Summary
Constructors Constructor Description GetBackgroundUrl()
Constructs a persistent HTTP URL for a background.GetBackgroundUrl(DataInput input)
GetBackgroundUrl(String name, TdApi.BackgroundType type)
Constructs a persistent HTTP URL for a background. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
name
Background name. -
type
Background type. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetBackgroundUrl
public GetBackgroundUrl()Constructs a persistent HTTP URL for a background.Returns
HttpUrl
-
GetBackgroundUrl
Constructs a persistent HTTP URL for a background.Returns
HttpUrl
- Parameters:
name
- String Background name.type
- BackgroundType Background type.
-
GetBackgroundUrl
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-