Class InputMediaAudio

    • Constructor Detail

      • InputMediaAudio

        public InputMediaAudio​(String media,
                               String caption,
                               String parseMode,
                               Integer duration,
                               String performer,
                               String title)
        Builds InputMediaAudio instance.
        Parameters:
        media - File to send. Pass a file_id to send a file that exists on the Telegram servers, or pass an HTTP URL for Telegram to get a file from the Internet
        caption - Optional. Caption of the video to be sent, 0-1024 characters
        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.
        duration - Optional. width.
        performer - Optional. performer.
        title - Optional. title.
      • InputMediaAudio

        public InputMediaAudio()
    • Method Detail

      • getDuration

        public Integer getDuration()
      • setDuration

        public void setDuration​(Integer duration)
      • getPerformer

        public String getPerformer()
      • setPerformer

        public void setPerformer​(String performer)
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)