UNPKG

@vonage/messages

Version:

Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS

22 lines 844 B
import { MessageConfig } from '../../interfaces/Viber/MessageConfig'; import { ViberText } from './ViberText'; /** * Represents a text message for the Viber channel. * * @deprecated Please use the ViberText class instead. * * @group Viber */ export declare class Text extends ViberText { /** * Constructs a new `Text` instance for the Viber channel. * * @param {string} text - The text content of the message. * @param {string} to - The recipient's Viber ID. * @param {string} from - The sender's Viber ID. * @param {MessageConfig} viberService - The Viber service configuration. * @param {string} clientRef - The client reference for the message. */ constructor(text: string, to: string, from: string, viberService?: MessageConfig, clientRef?: string); } //# sourceMappingURL=Text.d.ts.map