Interface Validable
- All Known Subinterfaces:
BotCommandScope
,InlineQueryResult
,InputMessageContent
,PassportElementError
,ReplyKeyboard
- All Known Implementing Classes:
AddStickerToSet
,AnswerCallbackQuery
,AnswerInlineQuery
,AnswerPreCheckoutQuery
,AnswerShippingQuery
,AnswerWebAppQuery
,ApproveChatJoinRequest
,BanChatMember
,BanChatSenderChat
,BotApiMethod
,BotApiMethodBoolean
,BotApiMethodMessage
,BotApiMethodSerializable
,BotCommand
,BotCommandScopeAllChatAdministrators
,BotCommandScopeAllGroupChats
,BotCommandScopeAllPrivateChats
,BotCommandScopeChat
,BotCommandScopeChatAdministrators
,BotCommandScopeChatMember
,BotCommandScopeDefault
,Close
,CloseForumTopic
,CopyMessage
,CreateChatInviteLink
,CreateForumTopic
,CreateInvoiceLink
,CreateNewStickerSet
,DeclineChatJoinRequest
,DeleteChatPhoto
,DeleteChatStickerSet
,DeleteForumTopic
,DeleteMessage
,DeleteMyCommands
,DeleteStickerFromSet
,DeleteWebhook
,EditChatInviteLink
,EditForumTopic
,EditMessageCaption
,EditMessageLiveLocation
,EditMessageMedia
,EditMessageReplyMarkup
,EditMessageText
,ExportChatInviteLink
,ForceReplyKeyboard
,ForwardMessage
,GetChat
,GetChatAdministrators
,GetChatMember
,GetChatMemberCount
,GetChatMenuButton
,GetCustomEmojiStickers
,GetFile
,GetForumTopicIconStickers
,GetGameHighScores
,GetMe
,GetMyCommands
,GetMyDefaultAdministratorRights
,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
,LabeledPrice
,LeaveChat
,LoginUrl
,LogOut
,MaskPosition
,MenuButton
,MenuButtonCommands
,MenuButtonDefault
,MenuButtonWebApp
,PartialBotApiMethod
,PassportElementErrorDataField
,PassportElementErrorFile
,PassportElementErrorFiles
,PassportElementErrorFrontSide
,PassportElementErrorReverseSide
,PassportElementErrorSelfie
,PassportElementErrorTranslationFile
,PassportElementErrorTranslationFiles
,PassportElementErrorUnspecified
,PinChatMessage
,PromoteChatMember
,ReopenForumTopic
,ReplyKeyboardMarkup
,ReplyKeyboardRemove
,RestrictChatMember
,RevokeChatInviteLink
,SendAnimation
,SendAudio
,SendChatAction
,SendContact
,SendDice
,SendDocument
,SendGame
,SendInvoice
,SendInvoice
,SendLocation
,SendMediaGroup
,SendMessage
,SendPhoto
,SendPoll
,SendSticker
,SendVenue
,SendVideo
,SendVideoNote
,SendVoice
,SetChatAdministratorCustomTitle
,SetChatDescription
,SetChatMenuButton
,SetChatPermissions
,SetChatPhoto
,SetChatStickerSet
,SetChatTitle
,SetGameScore
,SetMyCommands
,SetMyDefaultAdministratorRights
,SetPassportDataErrors
,SetStickerPositionInSet
,SetStickerSetThumb
,SetWebhook
,ShippingOption
,StopMessageLiveLocation
,StopPoll
,UnbanChatMember
,UnbanChatSenderChat
,UnpinAllChatMessages
,UnpinAllForumTopicMessages
,UnpinChatMessage
,UploadStickerFile
,WebAppInfo
public interface Validable
- Version:
- 1.0
- Author:
- Ruben Bermudez
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
validate()
Validates that mandatory fields are filled and optional objects
-
Method Details
-
validate
Validates that mandatory fields are filled and optional objects- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-