Merge pull request #524 from ezachateyskiy/patch-1
Fix wrong path for SendAnimation command
This commit is contained in:
commit
b4f710beaf
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user