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

editChannelInfo

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

ورودی‌ها​

نامنوع
channel_guidstring
titlestring (اختیاری)
descriptionstring (اختیاری)
channel_typestring (اختیاری)
sign_messagesboolean (اختیاری)
is_restricted_contentboolean (اختیاری)
chat_reaction_settingobject (اختیاری)
chat_history_for_new_membersChatHistory (اختیاری)

خروجی​

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();