From d6b7ee04a093f3fd5572b7416c815a78c394d6f0 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 11 Jul 2023 15:50:11 +0000 Subject: [PATCH] docs: document `range` argument of `render_webxdc_status_update_object()` --- src/webxdc.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/webxdc.rs b/src/webxdc.rs index db9ddf4ab..4697f025b 100644 --- a/src/webxdc.rs +++ b/src/webxdc.rs @@ -679,6 +679,10 @@ impl Context { /// /// Example: `{"updates": [{"payload":"any update data"}, /// {"payload":"another update data"}]}` + /// + /// `range` is an optional range of status update serials to send. + /// If it is `None`, all updates are sent. + /// This is used when a message is resent using [`crate::chat::resend_msgs`]. pub(crate) async fn render_webxdc_status_update_object( &self, instance_msg_id: MsgId,