sendLive
TODO: توضیحات مربوط به sendLive را وارد کنید.
ورودیها
| نام | نوع |
|---|---|
title | string |
object_guid | string |
image | string |
device_type | unknown (اختیاری، پیشفرض: "Software") |
خروجی
unknown
نحوه استفاده
import Client from "rubika/client";
const client = new Client("session-name");
client.command("/sendLive", async (ctx) => {
await client.sendLive(
"title: string",
"object_guid: string",
"image: string",
"Software"
);
});
client.run();