Interface Validable
-
- All Known Subinterfaces:
BotCommandScope,InlineQueryResult,InputMessageContent,PassportElementError,ReplyKeyboard
- All Known Implementing Classes:
AddStickerToSet,AnswerCallbackQuery,AnswerInlineQuery,AnswerPreCheckoutQuery,AnswerShippingQuery,BanChatMember,BotApiMethod,BotCommand,BotCommandScopeAllChatAdministrators,BotCommandScopeAllGroupChats,BotCommandScopeAllPrivateChats,BotCommandScopeChat,BotCommandScopeChatAdministrators,BotCommandScopeChatMember,BotCommandScopeDefault,Close,CopyMessage,CreateChatInviteLink,CreateNewStickerSet,DeleteChatPhoto,DeleteChatStickerSet,DeleteMessage,DeleteMyCommands,DeleteStickerFromSet,DeleteWebhook,EditChatInviteLink,EditMessageCaption,EditMessageLiveLocation,EditMessageMedia,EditMessageReplyMarkup,EditMessageText,ExportChatInviteLink,ForceReplyKeyboard,ForwardMessage,GetChat,GetChatAdministrators,GetChatMember,GetChatMemberCount,GetChatMembersCount,GetFile,GetGameHighScores,GetMe,GetMyCommands,GetStickerSet,GetUpdates,GetUserProfilePhotos,GetWebhookInfo,InlineKeyboardButton,InlineKeyboardMarkup,InlineQueryResultArticle,InlineQueryResultAudio,InlineQueryResultCachedAudio,InlineQueryResultCachedDocument,InlineQueryResultCachedGif,InlineQueryResultCachedMpeg4Gif,InlineQueryResultCachedPhoto,InlineQueryResultCachedSticker,InlineQueryResultCachedVideo,InlineQueryResultCachedVoice,InlineQueryResultContact,InlineQueryResultDocument,InlineQueryResultGame,InlineQueryResultGif,InlineQueryResultLocation,InlineQueryResultMpeg4Gif,InlineQueryResultPhoto,InlineQueryResultVenue,InlineQueryResultVideo,InlineQueryResultVoice,InputContactMessageContent,InputFile,InputInvoiceMessageContent,InputLocationMessageContent,InputMedia,InputMediaAnimation,InputMediaAudio,InputMediaDocument,InputMediaPhoto,InputMediaVideo,InputTextMessageContent,InputVenueMessageContent,KeyboardButton,KeyboardButtonPollType,KeyboardRow,KickChatMember,LabeledPrice,LeaveChat,LoginUrl,LogOut,MaskPosition,PartialBotApiMethod,PassportElementErrorDataField,PassportElementErrorFile,PassportElementErrorFiles,PassportElementErrorFrontSide,PassportElementErrorReverseSide,PassportElementErrorSelfie,PassportElementErrorTranslationFile,PassportElementErrorTranslationFiles,PassportElementErrorUnspecified,PinChatMessage,PromoteChatMember,ReplyKeyboardMarkup,ReplyKeyboardRemove,RestrictChatMember,RevokeChatInviteLink,SendAnimation,SendAudio,SendChatAction,SendContact,SendDice,SendDocument,SendGame,SendInvoice,SendLocation,SendMediaGroup,SendMessage,SendPhoto,SendPoll,SendSticker,SendVenue,SendVideo,SendVideoNote,SendVoice,SetChatAdministratorCustomTitle,SetChatDescription,SetChatPermissions,SetChatPhoto,SetChatStickerSet,SetChatTitle,SetGameScore,SetMyCommands,SetPassportDataErrors,SetStickerPositionInSet,SetStickerSetThumb,SetWebhook,ShippingOption,StopMessageLiveLocation,StopPoll,UnbanChatMember,UnpinAllChatMessages,UnpinChatMessage,UploadStickerFile
public interface Validable- Version:
- 1.0
- Author:
- Ruben Bermudez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate()Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
validate
void validate() throws TelegramApiValidationExceptionValidates that mandatory fields are filled and optional objects- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
-