Class InputTextMessageContent
java.lang.Object
org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.InputTextMessageContent
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,InputMessageContent
- Version:
- 1.0 Represents the content of a text message to be sent as the result of an inline query.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
InputTextMessageContent
public InputTextMessageContent()
-
-
Method Details
-
validate
Description copied from interface:Validable
Validates that mandatory fields are filled and optional objects- Specified by:
validate
in interfaceValidable
- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-