Function deltachat::receive_imf::create_group
source ยท async fn create_group(
context: &Context,
mime_parser: &mut MimeMessage,
is_partial_download: bool,
create_blocked: Blocked,
from_id: ContactId,
to_ids: &[ContactId],
verified_encryption: &VerifiedEncryption,
grpid: &str,
) -> Result<Option<(ChatId, Blocked)>>
Expand description
This function tries to extract the group-id from the message and create a new group chat with this ID. If there is no group-id and there are more than two members, a new ad hoc group is created.
On success the function returns the created (chat_id, chat_blocked) tuple.