پرش به مطلب اصلی

sendVideo

TODO: توضیحات مربوط به sendVideo را وارد کنید.

ورودی‌ها​

نامنوع
object_guidstring
videostring , Buffer<ArrayBufferLike>
captionstring (اختیاری)
reply_to_message_idstring (اختیاری)
is_spoilboolean (اختیاری)
thumbstring , boolean (اختیاری)
auto_deletenumber (اختیاری)

خروجی​

unknown


نحوه استفاده​

import Client from "rubika/client";

const client = new Client("session-name");

client.command("/sendVideo", async (ctx) => {
await client.sendVideo(
"object_guid: string",
"video: string | Buffer<ArrayBufferLike>",
"caption: string",
"reply_to_message_id: string",
"is_spoil: boolean",
"thumb: string | boolean",
"auto_delete: number"
);
});

client.run();