Function deltachat::token::auth_foreign_key
source · pub async fn auth_foreign_key(
context: &Context,
token: &str,
) -> Result<Option<String>>
Expand description
Looks up foreign key by auth token.
Returns None if auth token is not valid. Returns an empty string if the token corresponds to “setup contact” rather than group join.