Interface TemplateVideoMessage

Интерфейс для шаблонного видео сообщения TemplateVideoMessage

const templateVideo: TemplateVideoMessage = {
type: 'video',
video: {
link: 'https://example.com/video.mp4',
id: 'video_123'
}
};
interface TemplateVideoMessage {
    type: "video";
    video: { id?: string; link?: string };
}

Properties

Properties

type: "video"

Тип сообщения, всегда 'video'

video: { id?: string; link?: string }

Объект видео

Type declaration

  • Optionalid?: string

    ID медиа файла в Gupshup (опционально)

  • Optionallink?: string

    URL видео файла (опционально)