Class TdApi.DeleteProfilePhoto

Enclosing class:
TdApi

public static class TdApi.DeleteProfilePhoto extends TdApi.Function<TdApi.Ok>
Deletes a profile photo.

Returns Ok

  • Field Details

    • profilePhotoId

      public long profilePhotoId
      Identifier of the profile photo to delete.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR