Class TdApi.SetBirthdate
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetBirthdate
- Enclosing class:
- TdApi
Changes the birthdate of the current user.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionThe new value of the current user's birthdate; pass null to remove the birthdate.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes the birthdate of the current user.SetBirthdate
(TdApi.Birthdate birthdate) Creates a function, which changes the birthdate of the current user. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
birthdate
The new value of the current user's birthdate; pass null to remove the birthdate. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetBirthdate
public SetBirthdate()Default constructor for a function, which changes the birthdate of the current user.Returns
Ok
-
SetBirthdate
Creates a function, which changes the birthdate of the current user.Returns
Ok
- Parameters:
birthdate
- The new value of the current user's birthdate; pass null to remove the birthdate.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-