docs: document range argument of render_webxdc_status_update_object()

This commit is contained in:
link2xt
2023-07-11 15:50:11 +00:00
parent d5c5ff8b3f
commit d6b7ee04a0

View File

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