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

sendVoiceChatActivity

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

ورودی‌ها​

نامنوع
chat_guidstring
voice_chat_idstring
participant_object_guidstring
activity"Speaking" (اختیاری، پیش‌فرض: "Speaking")

خروجی​

unknown


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

import Client from "rubika/client";

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

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

client.run();