Class MessageReactionUpdated

java.lang.Object
io.github.natanimn.telebof.types.updates.MessageReactionUpdated
All Implemented Interfaces:
TelegramUpdate

public class MessageReactionUpdated extends Object implements TelegramUpdate
This object represents a change of a reaction on a message performed by a user.
Since:
3 March 2025
Author:
Natanim
  • Field Details

    • chat

      private Chat chat
      The chat containing the message the user reacted to
    • messageId

      @SerializedName("message_id") private Integer messageId
      Unique identifier of the message inside the chat
    • user

      private User user
      The user that changed the reaction, if the user isn't anonymous
    • actorChat

      @SerializedName("actor_chat") private Chat actorChat
      The chat on behalf of which the reaction was changed, if the user is anonymous
    • date

      private int date
      Date of the change in Unix time
    • oldReaction

      @SerializedName("old_reaction") private List<ReactionType> oldReaction
      Previous list of reaction types that were set by the user
    • newReaction

      @SerializedName("new_reaction") private List<ReactionType> newReaction
      New list of reaction types that have been set by the user
  • Constructor Details

    • MessageReactionUpdated

      public MessageReactionUpdated()
  • Method Details

    • getChat

      public Chat getChat()
    • getMessageId

      public Integer getMessageId()
    • getUser

      public User getUser()
    • getActorChat

      public Chat getActorChat()
    • getDate

      public int getDate()
    • getOldReaction

      public List<ReactionType> getOldReaction()
    • getNewReaction

      public List<ReactionType> getNewReaction()
    • toString

      public String toString()
      Overrides:
      toString in class Object