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

x/mtkruto/mod.ts>Client#reorderUsernames

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