Class SendVoice

    • Constructor Detail

      • SendVoice

        protected SendVoice​(java.util.function.Consumer<VoiceMessage> callback,
                            java.util.function.Consumer<TelegramException> errorHandler,
                            ChatId chatId,
                            java.lang.Integer replyToMessageId,
                            java.lang.Boolean disableNotification,
                            ReplyMarkup replyMarkup,
                            InputFile voice,
                            java.lang.String caption,
                            java.lang.Integer duration,
                            ParseMode parseMode)
    • Method Detail

      • getInputFiles

        public java.util.List<InputFile> getInputFiles()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getCaption

        public java.lang.String getCaption()
      • getParseMode

        public ParseMode getParseMode()
      • getDuration

        public java.lang.Integer getDuration()