You've already forked matrix-js-sdk
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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user