import BaseAPI from './BaseAPI' ; export default class Pins extends BaseAPI { public add ( channel , file , file_comment , timestamp , extraArgs = { } ) { const args = { channel , file , file_comment , timestamp , ... extraArgs } ; return this . _post ( 'pins.add' , args ) ; } public list ( channel , extraArgs = { } ) { const args = { channel , ... extraArgs } ; return this . _post ( 'pins.add' , args ) ; } public remove ( channel , file , file_comment , timestamp , extraArgs = { } ) { const args = { channel , file , file_comment , timestamp , ... extraArgs } ; return this . _post ( 'pins.remove' , args ) ; } }