UNPKG

evolution-api-client

Version:

A TypeScript/Node.js client library for interacting with the Evolution API WhatsApp integration.

24 lines (19 loc) 375 B
import { IConfig } from '../types'; export class Config implements IConfig { constructor( private url: string, private apiKey: string ) {} getUrl(): string { return this.url; } getApiKey(): string { return this.apiKey; } setUrl(url: string): void { this.url = url; } setApiKey(apiKey: string): void { this.apiKey = apiKey; } }