java.lang.Object
io.github.natanimn.telebof.types.payments.PaidMedia

public class PaidMedia extends Object
This class describes paid media.
Since:
3 March 2025
Author:
Natanim
  • Field Details

    • type

      private String type
      Type of media
    • width

      private Integer width
      Media width as defined by the sender
    • height

      private Integer height
      Media height as defined by the sender
    • duration

      private Integer duration
      Duration of the media in seconds as defined by the sender
    • photo

      private List<PhotoSize> photo
      The photo
    • video

      private Video video
      The video
  • Constructor Details

    • PaidMedia

      public PaidMedia()
  • Method Details

    • getType

      public String getType()
    • getWidth

      public Integer getWidth()
    • getHeight

      public Integer getHeight()
    • getDuration

      public Integer getDuration()
    • getPhoto

      public List<PhotoSize> getPhoto()
    • getVideo

      public Video getVideo()