Class ReactionTypeCustomEmoji
Object
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 ReactionType
CUSTOM_EMOJI_TYPE, EMOJI_TYPE, PAID_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates that mandatory fields are filled and optional objectsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactionType
getType
-
Constructor Details
-
ReactionTypeCustomEmoji
public ReactionTypeCustomEmoji()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-