UNPKG

twilly

Version:

Node.js Twilio API abstraction layer for Express applications

17 lines (16 loc) 479 B
import Action, { ActionContext } from './Action'; declare const MessageTo: unique symbol; declare const MessageBody: unique symbol; export interface MessageContext extends ActionContext { body: string; to: string[]; } export default class Message extends Action { private [MessageTo]; private [MessageBody]; constructor(to: string | string[], body: string); readonly to: string[]; readonly body: string; getContext(): MessageContext; } export {};