update lại thư mục cấu trúc mới của server nodejs và python

This commit is contained in:
Victor Phan
2026-07-21 09:13:52 +07:00
parent 7625bdd37b
commit 58b1dcd170
1555 changed files with 0 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
import { ThreadType } from "../models/index.js";
export type SendVideoOptions = {
/**
* Optional message to send along with the video
*/
msg?: string;
/**
* URL of the video
*/
videoUrl: string;
/**
* URL of the thumbnail
*/
thumbnailUrl: string;
/**
* Video duration in milliseconds || Eg: video duration: 5.5s => 5.5 * 1000 = 5500
*/
duration?: number;
/**
* Width of the video
*/
width?: number;
/**
* Height of the video
*/
height?: number;
/**
* Time to live in milliseconds (default: 0)
*/
ttl?: number;
};
export type SendVideoResponse = {
msgId: number;
};
export declare const sendVideoFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (options: SendVideoOptions, threadId: string, type?: ThreadType) => Promise<SendVideoResponse>;