Class TdApi.DeleteProfilePhoto

  • Enclosing class:
    TdApi

    public static class TdApi.DeleteProfilePhoto
    extends TdApi.Function
    Deletes a profile photo. If something changes, updateUser will be sent.

    Returns Ok

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      long profilePhotoId
      Identifier of the profile photo to delete.
    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteProfilePhoto()
      Default constructor.
      DeleteProfilePhoto​(long profilePhotoId)
      Constructor for initialization of all fields.
    • Field Detail

      • 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:
        Constant Field Values
    • Constructor Detail

      • DeleteProfilePhoto

        public DeleteProfilePhoto()
        Default constructor.
      • DeleteProfilePhoto

        public DeleteProfilePhoto​(long profilePhotoId)
        Constructor for initialization of all fields.
        Parameters:
        profilePhotoId - Identifier of the profile photo to delete.