BAG Method "getMethod" of class SendSticker return null not PATH variable (#1175)
This commit is contained in:
parent
4c36c432f6
commit
cafe8cc3b4
@ -94,7 +94,7 @@ public class SendSticker extends SendMediaBotMethod<Message> {
|
||||
|
||||
@Override
|
||||
public String getMethod() {
|
||||
return null;
|
||||
return PATH;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -130,6 +130,11 @@ public class SendVideo extends SendMediaBotMethod<Message> {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMethod() {
|
||||
return PATH;
|
||||
}
|
||||
|
||||
@Override
|
||||
public InputFile getFile() {
|
||||
return video;
|
||||
@ -140,11 +145,6 @@ public class SendVideo extends SendMediaBotMethod<Message> {
|
||||
return VIDEO_FIELD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMethod() {
|
||||
return PATH;
|
||||
}
|
||||
|
||||
public static class SendVideoBuilder {
|
||||
|
||||
@Tolerate
|
||||
|
Loading…
Reference in New Issue
Block a user