Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Reorder the usernames of 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.

order: string[]

The new order to use.

Returns

Promise<boolean>

Whether the order was changed.