deltachat::securejoin::bob

Function joining_chat_id

Source
async fn joining_chat_id(
    context: &Context,
    invite: &QrInvite,
    alice_chat_id: ChatId,
) -> Result<ChatId>
Expand description

Returns the ChatId of the chat being joined.

This is the chat in which you want to notify the user as well.

When joining a group this is the ChatId of the group chat, when verifying a contact this is the ChatId of the 1:1 chat. The group chat will be created if it does not yet exist.