Class InputMedia

    • Field Detail

      • type

        protected String type
        Type of the result
      • media

        protected String media
        File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet.
      • caption

        protected String caption
        Optional. Caption of the InputMedia to be sent, 0-200 characters
      • parseMode

        @Json(name="parse_mode")
        protected ParseMode parseMode
        Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
    • Constructor Detail

      • InputMedia

        public InputMedia()