import { Channels } from '../../enums/Channels.js'; import { ViberAction } from '../../types/Channels/Viber/ViberAction.js'; import { ViberService } from '../../types/Channels/Viber/ViberService.js'; import { ViberVideoParams } from '../../types/Channels/Viber/ViberVideoParams.js'; import { AbstractVideoMessage } from '../AbstractVideoMessage.js'; import '../../enums/Viber/ViberCategory.js'; import '../../types/MessageParamsVideo.js'; import '../../enums/MessageTypes.js'; import '../../types/MessageParams.js'; import '../../types/MessageVideoType.js'; import '../../types/Channels/Viber/ViberActionParams.js'; import '../../types/Channels/Viber/ViberParams.js'; import '../AbstractMessage.js'; /** * Represents a video message for the Viber Service channel. * * @group Viber */ declare class ViberVideo extends AbstractVideoMessage implements ViberVideoParams { /** * The channel for this message (always 'viber_service'). */ channel: Channels.VIBER; viberService: { duration: string; fileSize: string; } & { action: ViberAction; } & ViberService; /** * Send a video message using the Viber Service channel. * * @param {ViberVideoParams} params - The parameters for the ViberVideo message. * @example * ```ts * import { ViberVideo } from '@vonage/messages'; * * const { messageUUID } = await messagesClient.send(new ViberVideo({ * to: TO_NUMBER, * from: FROM_NUMBER, * text: 'Hello world', * video: { * url: 'https://my-host.com/my-video.mp4', * }, * viberService: { * action: { * url: 'https://my-host.com/my-path', * text: 'My button text', * }, * }, * clientRef: 'my-personal-reference', * })); * * console.log(`Message sent successfully with UUID ${messageUUID}`); * ``` */ constructor(params: Omit); } export { ViberVideo };