editGroupInfo
TODO: توضیحات مربوط به editGroupInfo را وارد کنید.
ورودیها
| نام | نوع |
|---|---|
group_guid | string |
title | string (اختیاری) |
description | string (اختیاری) |
slow_mode | string (اختیاری) |
event_messages | boolean (اختیاری) |
is_restricted_content | boolean (اختیاری) |
chat_reaction_setting | IN_CODES , null , undefined (اختیاری) |
chat_history_for_new_members | ChatHistoryOption (اختیاری) |
خروجی
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();