mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
Improve docs
This commit is contained in:
@@ -38,11 +38,15 @@ pub enum QrObject {
|
|||||||
AskJoinBroadcast {
|
AskJoinBroadcast {
|
||||||
/// Chat name.
|
/// Chat name.
|
||||||
broadcast_name: String,
|
broadcast_name: String,
|
||||||
/// Group ID.
|
/// A string of random characters,
|
||||||
|
/// uniquely identifying this broadcast channel in the database.
|
||||||
|
/// Called `grpid` for historic reasons:
|
||||||
|
/// The id of multi-user chats is always called `grpid` in the database
|
||||||
|
/// because groups were once the only multi-user chats.
|
||||||
grpid: String,
|
grpid: String,
|
||||||
/// ID of the contact.
|
/// ID of the contact who owns the channel and created the QR code.
|
||||||
contact_id: u32,
|
contact_id: u32,
|
||||||
/// Fingerprint of the contact key as scanned from the QR code.
|
/// Fingerprint of the contact's key as scanned from the QR code.
|
||||||
fingerprint: String,
|
fingerprint: String,
|
||||||
|
|
||||||
authcode: String,
|
authcode: String,
|
||||||
|
|||||||
@@ -96,10 +96,10 @@ pub enum Qr {
|
|||||||
/// because groups were once the only multi-user chats.
|
/// because groups were once the only multi-user chats.
|
||||||
grpid: String,
|
grpid: String,
|
||||||
|
|
||||||
/// The contact id of the inviter
|
/// ID of the contact who owns the channel and created the QR code.
|
||||||
contact_id: ContactId,
|
contact_id: ContactId,
|
||||||
|
|
||||||
/// The PGP fingerprint of the inviter
|
/// Fingerprint of the contact's key as scanned from the QR code.
|
||||||
fingerprint: Fingerprint,
|
fingerprint: Fingerprint,
|
||||||
|
|
||||||
/// The AUTH code from the secure-join protocol,
|
/// The AUTH code from the secure-join protocol,
|
||||||
|
|||||||
Reference in New Issue
Block a user