diff --git a/lib/client.js b/lib/client.js index 239395584..8b0867771 100644 --- a/lib/client.js +++ b/lib/client.js @@ -2797,6 +2797,13 @@ MatrixClient.prototype.register = function(username, password, * therefore bypassing the registration-specific logic. * * Parameters and return value are as for requestEmailToken + + * @param {string} email As requestEmailToken + * @param {string} clientSecret As requestEmailToken + * @param {number} sendAttempt As requestEmailToken + * @param {string} nextLink As requestEmailToken + * @param {module:client.callback} callback Optional. As requestEmailToken + * @return {module:client.Promise} Resolves: As requestEmailToken */ MatrixClient.prototype.requestRegisterEmailToken = function(email, clientSecret, sendAttempt, nextLink, callback) {