bots.reorderUsernames
Reorder usernames associated to a bot we own.
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Reorder usernames associated to a bot we own.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/bots.reorderUsernames" \ -H "Content-Type: application/json" \ -d '{ "params": { "bot": { "_": "inputUserEmpty" }, "order": [ "string" ] } }'{ "result": true}reorderPreviewMedias
Reorder a [main mini app previews, see here »](https://core.telegram.org/api/bots/webapps#main-mini-app-previews) for more info. Only owners of bots with a configured Main Mini App can use this method, see [see here »](https://core.telegram.org/api/bots/webapps#main-mini-app-previews) for more info on how to check if you can invoke this method.
requestWebViewButton
Bots may use this method to prepare a peer request button for a [Mini App](https://core.telegram.org/api/bots/webapps), see [here »](https://core.telegram.org/api/bots/buttons#requesting-peers-via-mini-apps) for more info.