Merge pull request #524 from ezachateyskiy/patch-1

Fix wrong path for SendAnimation command
This commit is contained in:
Ruben Bermudez 2018-09-28 22:33:23 +01:00 committed by GitHub
commit b4f710beaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -641,7 +641,7 @@ public abstract class DefaultAbsSender extends AbsSender {
assertParamNotNull(sendAnimation, "sendAnimation"); assertParamNotNull(sendAnimation, "sendAnimation");
sendAnimation.validate(); sendAnimation.validate();
try { try {
String url = getBaseUrl() + SendVoice.PATH; String url = getBaseUrl() + SendAnimation.PATH;
HttpPost httppost = configuredHttpPost(url); HttpPost httppost = configuredHttpPost(url);
MultipartEntityBuilder builder = MultipartEntityBuilder.create(); MultipartEntityBuilder builder = MultipartEntityBuilder.create();
builder.setLaxMode(); builder.setLaxMode();