1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-19 10:22:30 +03:00

Add doc details

This commit is contained in:
David Baker
2016-12-22 15:01:20 +00:00
parent 582576b1c3
commit 41ddb7660b

View File

@@ -715,6 +715,7 @@ MatrixBaseApis.prototype.addThreePid = function(creds, bind, callback) {
/** /**
* @param {string} medium The threepid medium (eg. 'email') * @param {string} medium The threepid medium (eg. 'email')
* @param {string} address The threepid address (eg. 'bob@example.com') * @param {string} address The threepid address (eg. 'bob@example.com')
* this must be as returned by getThreePids.
* @return {module:client.Promise} Resolves: The server response on success * @return {module:client.Promise} Resolves: The server response on success
* (generally the empty JSON object) * (generally the empty JSON object)
* @return {module:http-api.MatrixError} Rejects: with an error response. * @return {module:http-api.MatrixError} Rejects: with an error response.