You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
I actually docced them as well
This commit is contained in:
@@ -1042,9 +1042,10 @@ MatrixBaseApis.prototype.sendToDevice = function(
|
|||||||
// Third party Lookup API
|
// Third party Lookup API
|
||||||
// ======================
|
// ======================
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Get the third party protocols that can be reached using
|
* Get the third party protocols that can be reached using
|
||||||
* this HS
|
* this HS
|
||||||
|
* @return {module:client.Promise} Resolves to the result object
|
||||||
*/
|
*/
|
||||||
MatrixBaseApis.prototype.getThirdpartyProtocols = function() {
|
MatrixBaseApis.prototype.getThirdpartyProtocols = function() {
|
||||||
return this._http.authedRequestWithPrefix(
|
return this._http.authedRequestWithPrefix(
|
||||||
@@ -1053,12 +1054,13 @@ MatrixBaseApis.prototype.getThirdpartyProtocols = function() {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Get information on how a specific place on a third party protocol
|
* Get information on how a specific place on a third party protocol
|
||||||
* may be reached.
|
* may be reached.
|
||||||
* @param {string} protocol The protocol given in getThirdpartyProtocols()
|
* @param {string} protocol The protocol given in getThirdpartyProtocols()
|
||||||
* @param {object} params Protocol-specific parameters, as given in th
|
* @param {object} params Protocol-specific parameters, as given in th
|
||||||
* response to getThirdpartyProtocols()
|
* response to getThirdpartyProtocols()
|
||||||
|
* @return {module:client.Promise} Resolves to the result object
|
||||||
*/
|
*/
|
||||||
MatrixBaseApis.prototype.getThirdpartyLocation = function(protocol, params) {
|
MatrixBaseApis.prototype.getThirdpartyLocation = function(protocol, params) {
|
||||||
var path = utils.encodeUri("/thirdparty/location/$protocol", {
|
var path = utils.encodeUri("/thirdparty/location/$protocol", {
|
||||||
|
|||||||
Reference in New Issue
Block a user