Skip to content

Commit fcd7026

Browse files
committed
docs: improve docs for IncomingReaction event
Follow-up to #6072.
1 parent ecbec41 commit fcd7026

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

deltachat-jsonrpc/src/api/types/events.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ pub enum EventType {
9898
contact_id: u32,
9999
},
100100

101-
/// Incoming reaction, should be notified.
101+
/// A reaction to one's own sent message received.
102+
/// Typically, the UI will show a notification for that.
103+
///
104+
/// In addition to this event, ReactionsChanged is emitted.
102105
#[serde(rename_all = "camelCase")]
103106
IncomingReaction {
104107
chat_id: u32,

src/events/payload.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ pub enum EventType {
9595
contact_id: ContactId,
9696
},
9797

98-
/// Reactions for the message changed.
98+
/// A reaction to one's own sent message received.
99+
/// Typically, the UI will show a notification for that.
100+
///
101+
/// In addition to this event, ReactionsChanged is emitted.
99102
IncomingReaction {
100103
/// ID of the chat which the message belongs to.
101104
chat_id: ChatId,

0 commit comments

Comments
 (0)