Class InputPaidMediaVideo

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

public class InputPaidMediaVideo extends Object implements InputPaidMedia
The paid media to send is a video.
Since:
3 March 2025
See Also:
  • Constructor Details

    • InputPaidMediaVideo

      public InputPaidMediaVideo(String media)
      Required
      Parameters:
      media - File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), or pass an HTTP URL for Telegram to get a file from the Internet.
    • InputPaidMediaVideo

      public InputPaidMediaVideo(File media)
      Required
      Parameters:
      media - File to send. Pass an object of File to upload from your local machine.
  • Method Details