Class ReactionTypeCustomEmoji
java.lang.Object
org.telegram.telegrambots.meta.api.objects.reactions.ReactionTypeCustomEmoji
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,ReactionType
- Version:
- 7.0 The reaction is based on a custom emoji.
- Author:
- Ruben Bermudez
- See Also:
-
Field Summary
Fields inherited from interface org.telegram.telegrambots.meta.api.objects.reactions.ReactionType
CUSTOM_EMOJI_TYPE, EMOJI_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
ReactionTypeCustomEmoji
public ReactionTypeCustomEmoji()
-
-
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
-