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

x/mtkruto/mod.ts>Client#createChannel

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

Create a channel. User-only.

Parameters

title: string

The title of the channel.

optional
params: CreateChannelParams

Returns

Promise<ChatPChannel>

The created channel.