editChannelInfo
TODO: توضیحات مربوط به editChannelInfo را وارد کنید.
ورودیها
| نام | نوع |
|---|---|
channel_guid | string |
title | string (اختیاری) |
description | string (اختیاری) |
channel_type | string (اختیاری) |
sign_messages | boolean (اختیاری) |
is_restricted_content | boolean (اختیاری) |
chat_reaction_setting | object (اختیاری) |
chat_history_for_new_members | ChatHistory (اختیاری) |
خروجی
unknown
نحوه استفاده
import Client from "rubika/client";
const client = new Client("session-name");
client.command("/editChannelInfo", async (ctx) => {
await client.editChannelInfo(
"channel_guid: string",
"title: string",
"description: string",
"channel_type: string",
"sign_messages: boolean",
"is_restricted_content: boolean",
"chat_reaction_setting: object",
"chat_history_for_new_members: ChatHistory"
);
});
client.run();