MessageReactionUpdated

Raw MD
This object represents a change of a reaction on a message performed by a user

This object represents a change of a reaction on a message performed by a user.

Fields

FieldTypeRequiredDescription
chatChatAlwaysThe chat containing the message the user reacted to
message_idIntegerAlwaysUnique identifier of the message inside the chat
userUserOptionalThe user that changed the reaction, if the user isn't anonymous
actor_chatChatOptionalThe chat on behalf of which the reaction was changed, if the user is anonymous
dateIntegerAlwaysDate of the change in Unix time
old_reactionArray of ReactionTypeAlwaysPrevious list of reaction types that were set by the user
new_reactionArray of ReactionTypeAlwaysNew list of reaction types that have been set by the user
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.