diff --git a/deltachat-jsonrpc/src/api.rs b/deltachat-jsonrpc/src/api.rs index a44bde831..89ac5a60c 100644 --- a/deltachat-jsonrpc/src/api.rs +++ b/deltachat-jsonrpc/src/api.rs @@ -2458,6 +2458,7 @@ impl CommandApi { } /// Returns reactions to the message. + /// `None` when there are no reactions. async fn get_message_reactions( &self, account_id: u32, diff --git a/deltachat-jsonrpc/src/api/types/message.rs b/deltachat-jsonrpc/src/api/types/message.rs index f33091e98..969a65d5b 100644 --- a/deltachat-jsonrpc/src/api/types/message.rs +++ b/deltachat-jsonrpc/src/api/types/message.rs @@ -105,6 +105,7 @@ pub struct MessageObject { is_pinned: bool, + /// `None` when there are no reactions. reactions: Option, vcard_contact: Option,