From e61a52dc11fe3b716c4155b9d9d7d46f5c9c81aa Mon Sep 17 00:00:00 2001 From: Rubenlagus Date: Tue, 9 May 2017 01:53:40 +0200 Subject: [PATCH] Changed method to protected to allow overriding it --- .../java/org/telegram/telegrambots/bots/DefaultAbsSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java b/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java index 0bdc4029..3ed24bff 100644 --- a/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java +++ b/telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultAbsSender.java @@ -754,7 +754,7 @@ public abstract class DefaultAbsSender extends AbsSender { return method.deserializeResponse(responseContent); } - private String getBaseUrl() { + protected String getBaseUrl() { return ApiConstants.BASE_URL + getBotToken() + "/"; } }