mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 04:58:47 +03:00
docs(json-rpc): clarify when reactions is None
Initially I thought that this is only `null` when reactions are somehow not applicable to this message.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -105,6 +105,7 @@ pub struct MessageObject {
|
||||
|
||||
is_pinned: bool,
|
||||
|
||||
/// `None` when there are no reactions.
|
||||
reactions: Option<JsonrpcReactions>,
|
||||
|
||||
vcard_contact: Option<VcardContact>,
|
||||
|
||||
Reference in New Issue
Block a user