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

editGroupInfo

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

ورودی‌ها​

نامنوع
group_guidstring
titlestring (اختیاری)
descriptionstring (اختیاری)
slow_modestring (اختیاری)
event_messagesboolean (اختیاری)
is_restricted_contentboolean (اختیاری)
chat_reaction_settingIN_CODES , null , undefined (اختیاری)
chat_history_for_new_membersChatHistoryOption (اختیاری)

خروجی​

unknown


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

import Client from "rubika/client";

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

client.command("/editGroupInfo", async (ctx) => {
await client.editGroupInfo(
"group_guid: string",
"title: string",
"description: string",
"slow_mode: string",
"event_messages: boolean",
"is_restricted_content: boolean",
"chat_reaction_setting: { [key: string]: string | number } | null | undefined",
"chat_history_for_new_members: ChatHistoryOption"
);
});

client.run();