@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (animation == null) { throw new TelegramApiValidationException("Animation parameter can't be empty", this); } animation.validate(); if (replyMarkup != null) { replyMarkup.validate(); } if (thumb != null) { thumb.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (document == null) { throw new TelegramApiValidationException("Document parameter can't be empty", this); } document.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (video == null) { throw new TelegramApiValidationException("Video parameter can't be empty", this); } video.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (userId == null || userId <= 0) { throw new TelegramApiValidationException("userId can't be empty", this); } if (pngSticker == null) { throw new TelegramApiValidationException("PngSticker parameter can't be empty", this); } pngSticker.validate(); }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (videoNote == null) { throw new TelegramApiValidationException("VideoNote parameter can't be empty", this); } videoNote.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (audio == null) { throw new TelegramApiValidationException("Audio parameter can't be empty", this); } audio.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (sticker == null) { throw new TelegramApiValidationException("Sticker parameter can't be empty", this); } sticker.validate(); if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (voice == null) { throw new TelegramApiValidationException("Voice parameter can't be empty", this); } voice.validate(); if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (photo == null) { throw new TelegramApiValidationException("Photo parameter can't be empty", this); } photo.validate(); if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (userId == null || userId <= 0) { throw new TelegramApiValidationException("userId can't be empty", this); } if (name == null || name.isEmpty()) { throw new TelegramApiValidationException("name can't be empty", this); } if (emojis == null || emojis.isEmpty()) { throw new TelegramApiValidationException("emojis can't be empty", this); } if (pngSticker == null) { throw new TelegramApiValidationException("PngSticker can't be empty", this); } pngSticker.validate(); if (maskPosition != null) { maskPosition.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (userId == null || userId <= 0) { throw new TelegramApiValidationException("userId can't be empty", this); } if (name == null || name.isEmpty()) { throw new TelegramApiValidationException("name can't be empty", this); } if (title == null || title.isEmpty()) { throw new TelegramApiValidationException("title can't be empty", this); } if (emojis == null || emojis.isEmpty()) { throw new TelegramApiValidationException("emojis can't be empty", this); } if (pngSticker == null) { throw new TelegramApiValidationException("PngSticker parameter can't be empty", this); } pngSticker.validate(); if (maskPosition != null) { maskPosition.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (document == null) { throw new TelegramApiValidationException("Document parameter can't be empty", this); } document.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (videoNote == null) { throw new TelegramApiValidationException("VideoNote parameter can't be empty", this); } videoNote.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (animation == null) { throw new TelegramApiValidationException("Animation parameter can't be empty", this); } animation.validate(); if (replyMarkup != null) { replyMarkup.validate(); } if (thumb != null) { thumb.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (video == null) { throw new TelegramApiValidationException("Video parameter can't be empty", this); } video.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (audio == null) { throw new TelegramApiValidationException("Audio parameter can't be empty", this); } audio.validate(); if (thumb != null) { thumb.validate(); } if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (userId == null || userId <= 0) { throw new TelegramApiValidationException("userId can't be empty", this); } if (pngSticker == null) { throw new TelegramApiValidationException("PngSticker parameter can't be empty", this); } pngSticker.validate(); }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (sticker == null) { throw new TelegramApiValidationException("Sticker parameter can't be empty", this); } sticker.validate(); if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (photo == null) { throw new TelegramApiValidationException("Photo parameter can't be empty", this); } photo.validate(); if (replyMarkup != null) { replyMarkup.validate(); } }
@Override public void validate() throws TelegramApiValidationException { if (chatId == null) { throw new TelegramApiValidationException("ChatId parameter can't be empty", this); } if (voice == null) { throw new TelegramApiValidationException("Voice parameter can't be empty", this); } voice.validate(); if (replyMarkup != null) { replyMarkup.validate(); } }