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

x/mtkruto/mod.ts>Client#hideUsername

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

Hide a username from the current account, a bot account, a supergroup, 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 hide.