setChannelPosition

This commit is contained in:
abalabahaha
2015-12-05 10:15:46 -08:00
parent a89938ed01
commit ccc794229e
3 changed files with 27 additions and 0 deletions

View File

@@ -366,6 +366,12 @@ export default class Client extends EventEmitter {
.then(callback, errCB(callback));
}
//def setChannelPosition
setChannelPosition(channel, position, callback = (/*err*/) => {}) {
return this.internal.setChannelPosition(channel, position)
.then(callback, errCB(callback));
}
//def updateChannel
updateChannel(channel, data, callback = (/*err*/) => {}) {
return this.internal.updateChannel(channel, data)