import BaseAPI from './BaseAPI' ; export default class Dialog extends BaseAPI { public open ( dialog , trigger_id , extraArgs = { } ) { const args = { dialog , trigger_id , ... extraArgs } ; return this . _post ( 'conversations.unarchive' , args ) ; } }