Class TdApi.DeleteProfilePhoto
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.DeleteProfilePhoto
- Enclosing class:
- TdApi
Deletes a profile photo.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the profile photo to delete. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which deletes a profile photo.DeleteProfilePhoto
(long profilePhotoId) Creates a function, which deletes a profile photo. -
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
-
profilePhotoId
public long profilePhotoIdIdentifier of the profile photo to delete. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DeleteProfilePhoto
public DeleteProfilePhoto()Default constructor for a function, which deletes a profile photo.Returns
Ok
-
DeleteProfilePhoto
public DeleteProfilePhoto(long profilePhotoId) Creates a function, which deletes a profile photo.Returns
Ok
- Parameters:
profilePhotoId
- Identifier of the profile photo to delete.
-
-
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
-