Class SetMessageReaction
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SetMessageReaction, Boolean>
io.github.natanimn.telebof.requests.set.SetMessageReaction
SetMessageReaction class. Returns True on success.
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionisBig
(boolean is_big) Optionalreaction
(List<ReactionType> reaction) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SetMessageReaction
-
-
Method Details
-
reaction
Optional- Parameters:
reaction
- A JSON-serialized list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators. Paid reactions can't be used by bots.- Returns:
SetMessageReaction
-
isBig
Optional- Parameters:
is_big
- Pass True to set the reaction with a big animation- Returns:
SetMessageReaction
-