sendVideo
Gửi video
api.sendVideo(options, threadId[, type])
Parameters
options
SendVideoOptionsthreadId
stringtype
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
Related
Last updated