diff --git a/deltachat-jsonrpc/src/api/types/qr.rs b/deltachat-jsonrpc/src/api/types/qr.rs index 607b495ec..b606e33f4 100644 --- a/deltachat-jsonrpc/src/api/types/qr.rs +++ b/deltachat-jsonrpc/src/api/types/qr.rs @@ -129,7 +129,17 @@ impl From for QrObject { } Qr::FprWithoutAddr { fingerprint } => QrObject::FprWithoutAddr { fingerprint }, Qr::Account { domain } => QrObject::Account { domain }, + /// Provides a backup that can be retrieve. + /// + /// This contains all the data needed to connect to a device and download a + /// backup from it to configure the receiving device with the same account. Qr::Backup { ticket } => QrObject::Backup { + /// Printable version of the provider information. + /// + /// This is the printable version of a `sendme` ticket, which contains all + /// the information to connect to and authenticate a backup provider. + /// + /// The format is somewhat opaque, but `sendme` can deserialise this. ticket: ticket.to_string(), }, Qr::WebrtcInstance {