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

setVoiceChatState

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

ورودی‌ها​

نامنوع
chat_guidstring
voice_chat_idstring
participant_object_guidstring (اختیاری)
action`"Mute"

خروجی​

unknown


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

import Client from "rubika/client";

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

client.command("/setVoiceChatState", async (ctx) => {
await client.setVoiceChatState(
"chat_guid: string",
"voice_chat_id: string",
"participant_object_guid: string",
"Unmute"
);
});

client.run();