SetMessageReactionReq
telegramium.bots.client.SetMessageReactionReq
final case class SetMessageReactionReq(chatId: ChatId, messageId: Int, reaction: List[ReactionType], isBig: Option[Boolean])
Value parameters
- chatId
-
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
- isBig
-
Pass True to set the reaction with a big animation
- messageId
-
Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.
- 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.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article