@zenvia/sdk
Version:
This SDK for [Node.js](https://nodejs.org/) was created based on the [Zenvia](https://www.zenvia.com/) [API](https://zenvia.github.io/zenvia-openapi-spec/).
17 lines (16 loc) • 654 B
TypeScript
import { AbstractChannel } from './abstract-channel';
import { IContent, ILoggerInstance, IClientOptions } from '../../types';
/**
* Implementation of Facebook channel.
*/
export declare class FacebookChannel extends AbstractChannel {
private supportedContents;
/**
* Returns a new `FacebookChannel` that is used to set the Facebook channel.
*
* @param token Zenvia platform token.
* @param loggerInstance If you want, you can pass your log instance.
*/
constructor(token: string, loggerInstance: ILoggerInstance, options: IClientOptions);
protected contentSupportValidation(content: IContent): void | never;
}