addThreePid

abstract suspend fun addThreePid(threePid: RegisterThreePid): RegistrationResult

Perform the "m.login.email.identity" or "m.login.msisdn" stage.

Parameters

threePid

the threePid to add to the account. If this is an email, the homeserver will send an email to validate it. For a msisdn a SMS will be sent.