Function deltachat::token::auth_chat_id
source · pub async fn auth_chat_id(
context: &Context,
token: &str
) -> Result<Option<ChatId>>
Expand description
Looks up ChatId by auth token.
Returns None if auth token is not valid. Returns zero/unset ChatId if the token corresponds to “setup contact” rather than group join.