feat: add IncomingReaction.chat_id (#6459)

For the same reasons as mentioned in #6356 and to streamline the
"Incoming" Event API. (all have a chat_id)
This commit is contained in:
Nico de Haen
2025-01-29 10:05:20 +01:00
committed by GitHub
parent 963576752b
commit fcdbe3ff4a
3 changed files with 26 additions and 3 deletions

View File

@@ -97,6 +97,9 @@ pub enum EventType {
/// Reactions for the message changed.
IncomingReaction {
/// ID of the chat which the message belongs to.
chat_id: ChatId,
/// ID of the contact whose reaction set is changed.
contact_id: ContactId,