1. Minor fix
This commit is contained in:
parent
9f8a34eba1
commit
56ef6bba3e
@ -108,7 +108,7 @@ public class TelegramBotsApi {
|
||||
if (botToken == null) {
|
||||
throw new TelegramApiException("Parameter botToken can not be null");
|
||||
}
|
||||
setWebhook(extrenalUrl, botToken, pathToCertificate, publicCertificateName);
|
||||
setWebhook(extrenalUrl == null ? "" : extrenalUrl, botToken, pathToCertificate, publicCertificateName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user