Class SendableInlineRequest<T>

    • Constructor Detail

      • SendableInlineRequest

        protected SendableInlineRequest​(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 messageId,
                                        java.lang.String inlineMessageId)
    • Method Detail

      • isValid

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

        public ChatId getChatId()
      • getMessageId

        public java.lang.Integer getMessageId()
      • getInlineMessageId

        public java.lang.String getInlineMessageId()
      • toString

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