mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 13:01:21 +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.
|
/// Returns reactions to the message.
|
||||||
|
/// `None` when there are no reactions.
|
||||||
async fn get_message_reactions(
|
async fn get_message_reactions(
|
||||||
&self,
|
&self,
|
||||||
account_id: u32,
|
account_id: u32,
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ pub struct MessageObject {
|
|||||||
|
|
||||||
is_pinned: bool,
|
is_pinned: bool,
|
||||||
|
|
||||||
|
/// `None` when there are no reactions.
|
||||||
reactions: Option<JsonrpcReactions>,
|
reactions: Option<JsonrpcReactions>,
|
||||||
|
|
||||||
vcard_contact: Option<VcardContact>,
|
vcard_contact: Option<VcardContact>,
|
||||||
|
|||||||
Reference in New Issue
Block a user