Class SendableMessageRequest<T>

    • Constructor Detail

      • SendableMessageRequest

        protected SendableMessageRequest​(java.lang.String endPoint,
                                         java.lang.Class<T> callbackType,
                                         java.util.function.Consumer<T> callback,
                                         java.util.function.Consumer<TelegramException> errorHandler,
                                         ChatId chatId,
                                         java.lang.Integer replyToMessageId,
                                         java.lang.Boolean disableNotification,
                                         ReplyMarkup replyMarkup)
    • Method Detail

      • isValid

        protected boolean isValid()
        Description copied from class: QueryTelegramRequest
        Checks validity of this request. Internal method used before sending.
        Overrides:
        isValid in class SendableChatRequest<T>
        Returns:
        If it's valid
      • getReplyToMessageId

        public java.lang.Integer getReplyToMessageId()
      • getDisableNotification

        public java.lang.Boolean getDisableNotification()
      • setReplyToMessageId

        public void setReplyToMessageId​(java.lang.Integer replyToMessageId)