Skip to main content
Module

x/mtkruto/client/5_client.ts>Client#getInputChannel

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.getInputChannel
import { Client } from "https://deno.land/x/mtkruto@0.2.30/client/5_client.ts";

Get a channel or a supergroup's inputChannel. Useful when calling API functions directly.

Parameters

id: ID

The identifier of the channel or the supergroup.

Returns

Promise<Api.inputChannel>