Allow offset to be null in GetUserProfilePhotos
This commit is contained in:
parent
6e689fbf88
commit
54383aa626
@ -92,9 +92,6 @@ public class GetUserProfilePhotos extends BotApiMethod<UserProfilePhotos> {
|
|||||||
if (userId == null) {
|
if (userId == null) {
|
||||||
throw new TelegramApiValidationException("UserId parameter can't be empty", this);
|
throw new TelegramApiValidationException("UserId parameter can't be empty", this);
|
||||||
}
|
}
|
||||||
if (offset == null) {
|
|
||||||
throw new TelegramApiValidationException("Offset parameter can't be empty", this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user