Class PaidMedia

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

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

    • type

      public String type
      Type of media
    • width

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

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

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

      public List<PhotoSize> photo
      The photo
    • video

      public Video video
      The video
  • Constructor Details

    • PaidMedia

      public PaidMedia()
  • Method Details