Skip to main content
Module

x/mtkruto/mod.ts>Client#hideUsername

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.hideUsername
import { Client } from "https://deno.land/x/mtkruto@0.2.24/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.