getGroupVoiceChatUpdates
TODO: توضیحات مربوط به getGroupVoiceChatUpdates را وارد کنید.
ورودیها
| نام | نوع |
|---|---|
group_guid | string |
voice_chat_id | string |
state | number (اختیاری، پیشفرض: Math.round(Date.now() / 1000) - 150) |
خروجی
unknown
نحوه استفاده
import Client from "rubika/client";
const client = new Client("session-name");
client.command("/getGroupVoiceChatUpdates", async (ctx) => {
await client.getGroupVoiceChatUpdates(
"group_guid: string",
"voice_chat_id: string",
Math.round(Date.now() / 1000) - 150
);
});
client.run();