import BaseAPI from './BaseAPI' ; export default class Reactions extends BaseAPI { public add ( name , file , channel , channel_comment , timestamp , extraArgs = { } ) { const args = { name , file , channel , channel_comment , timestamp , ... extraArgs } ; return this . _post ( 'reactions.add' , args ) ; } public get ( channel = null , file = null , file_comment = null , full = null , timestamp = null , extraArgs = { } ) { const args = { channel , file , file_comment , full , timestamp , ... extraArgs } ; return this . _get ( 'reactions.get' , args ) ; } public list ( count , cursor = null , full = null , limit = 0 , page = 1 , user = null , extraArgs = { } ) { const args = { count , cursor , full , limit , page , user , ... extraArgs } ; return this . _get ( 'reactions.list' , args ) ; } public remove ( name = null , channel = null , file = null , file_comment = null , timestamp = null , extraArgs = { } ) { const args = { name , channel , file , file_comment , timestamp , ... extraArgs } ; return this . _post ( 'reactions.remove' , args ) ; } }