Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#createSupergroup

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.createSupergroup
import { Client } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";

Create a supergroup. User-only.

Parameters

title: string

The title of the supergroup.

optional
params: CreateSupergroupParams

Returns

Promise<ChatPSupergroup>

The created supergroup.