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

x/mtkruto/mod.ts>Client#showUsername

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

Show a username in the current account, a bot account, sa upergroup, or a channel's profile. User-only.

Parameters

id: ID

"me", a bot ID, a supergroup ID, or a channel ID.

username: string

The username to show.