mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
docs: document range argument of render_webxdc_status_update_object()
This commit is contained in:
@@ -679,6 +679,10 @@ impl Context {
|
|||||||
///
|
///
|
||||||
/// Example: `{"updates": [{"payload":"any update data"},
|
/// Example: `{"updates": [{"payload":"any update data"},
|
||||||
/// {"payload":"another 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(
|
pub(crate) async fn render_webxdc_status_update_object(
|
||||||
&self,
|
&self,
|
||||||
instance_msg_id: MsgId,
|
instance_msg_id: MsgId,
|
||||||
|
|||||||
Reference in New Issue
Block a user