Class InputProfilePhotoStatic

java.lang.Object
io.github.natanimn.telebof.types.input.InputProfilePhotoStatic
All Implemented Interfaces:
InputMedia, InputProfilePhoto, Serializable

public class InputProfilePhotoStatic extends Object implements InputProfilePhoto
A static profile photo in the .JPG format.
Since:
19 August 2025
See Also:
  • Constructor Details

    • InputProfilePhotoStatic

      public InputProfilePhotoStatic(File photo)
      Required
      Parameters:
      photo - The static profile photo.
  • Method Details

    • hasFile

      public boolean hasFile()
      Used only for internal purpose
      Specified by:
      hasFile in interface InputMedia
      Returns:
      boolean
    • getFiles

      public List<File> getFiles()
      Used only for internal purpose
      Specified by:
      getFiles in interface InputMedia
      Returns:
      boolean