@vonage/messages
Version:
Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS
22 lines • 802 B
TypeScript
import { WhatsAppChannelInterface } from './WhatsAppChannelInterface';
import { MessageInterface } from '../MessageInterface';
import { WhatsAppStickerUrlType } from '../../types';
import { WhatsAppStickerIdType } from '../../types';
/**
* Represents an interface for WhatsApp sticker messages.
*
* @deprecated Please use types instead of interfaces.
*
* @ignore
*/
export interface WhatsAppStickerInterface extends WhatsAppChannelInterface, MessageInterface {
/**
* Specifies the type of message, which is "sticker" for sticker messages.
*/
messageType: 'sticker';
/**
* The sticker to be sent. It can be either a sticker URL or a sticker ID.
*/
sticker: WhatsAppStickerUrlType | WhatsAppStickerIdType;
}
//# sourceMappingURL=WhatsAppStickerInterface.d.ts.map