Fix wrong path for SendAnimation command

This commit is contained in:
ezachateyskiy 2018-09-15 02:07:17 +03:00 committed by GitHub
parent 6cb8b7905d
commit 584b9d5f98
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");
sendAnimation.validate();
try {
String url = getBaseUrl() + SendVoice.PATH;
String url = getBaseUrl() + SendAnimation.PATH;
HttpPost httppost = configuredHttpPost(url);
MultipartEntityBuilder builder = MultipartEntityBuilder.create();
builder.setLaxMode();