BAG Method "getMethod" of class SendSticker return null not PATH variable (#1175)

This commit is contained in:
Timur Sergeevich 2023-01-04 14:24:18 +03:00 committed by GitHub
parent 4c36c432f6
commit cafe8cc3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ public class SendSticker extends SendMediaBotMethod<Message> {
@Override
public String getMethod() {
return null;
return PATH;
}
@Override

View File

@ -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