Interface InputMedia

All Superinterfaces:
Serializable
All Known Subinterfaces:
InputPaidMedia, InputProfilePhoto, InputStoryContent
All Known Implementing Classes:
InputMediaAnimation, InputMediaAudio, InputMediaBuilder, InputMediaDocument, InputMediaPhoto, InputMediaVideo, InputPaidMediaPhoto, InputPaidMediaVideo, InputProfilePhotoAnimated, InputProfilePhotoStatic, InputSticker, InputStoryContentPhoto, InputStoryContentVideo

public interface InputMedia extends Serializable
This object represents the content of a media message to be sent.
Since:
3 March 2025
  • Method Summary

    Modifier and Type
    Method
    Description
    Used only for internal purpose
    boolean
    Used only for internal purpose
  • Method Details

    • hasFile

      boolean hasFile()
      Used only for internal purpose
      Returns:
      boolean
    • getFiles

      List<File> getFiles()
      Used only for internal purpose
      Returns:
      boolean