sendVideo

Gửi video

api.sendVideo(options, threadId[, type])

Parameters

  • options SendVideoOptions

  • threadId string

  • type ThreadType?

    • mặc định ThreadType.User

Return

Promise<SendVideoResponse>

Types

export type SendVideoOptions = {
    msg?: string;
    videoUrl: string;
    thumbnailUrl: string;
    duration?: number;
    width?: number;
    height?: number;
    ttl?: number;
};

export type SendVideoResponse = {
    msgId: number;
};

Examples

Last updated