This commit is contained in:
Ruben Bermudez 2017-11-15 18:39:27 +01:00
parent 91eaccd8ad
commit 083f020a35

View File

@ -85,7 +85,7 @@ public class DeleteMessage extends BotApiMethod<Boolean> {
if (result.getOk()) {
return result.getResult();
} else {
throw new TelegramApiRequestException("Error editing message caption", result);
throw new TelegramApiRequestException("Error deleting message", result);
}
} catch (IOException e) {
throw new TelegramApiRequestException("Unable to deserialize response", e);