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:
WofWca
2026-08-21 13:12:02 +04:00
parent c9880d0ba6
commit 48888898ee
2 changed files with 2 additions and 0 deletions

View File

@@ -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,

View File

@@ -105,6 +105,7 @@ pub struct MessageObject {
is_pinned: bool,
/// `None` when there are no reactions.
reactions: Option<JsonrpcReactions>,
vcard_contact: Option<VcardContact>,