Closes #335
This commit is contained in:
parent
91eaccd8ad
commit
083f020a35
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user