Telegram MTProto icon

Telegram MTProto

Full-featured Telegram MTProto client (Pyrogram equivalent)

Chat → Promote Member

AI-generated

Summary

Promote a user to an admin role in a specified chat (channel or group) on Telegram.

Inputs

  • chatId (required) — The identifier of the chat (channel or group) where the user will be promoted.
  • userId (required) — The user ID or username of the member to promote to admin.
  • additionalOptions — Unused in this operation despite being available; promotion uses default admin rights configuration.

Output shape

a JSON object representing the result of the promotion API call

The result includes details of the admin rights granted. No pagination applies. Errors are thrown on failure unless 'Continue On Fail' is enabled.

Examples

Example 1: Promoting a user with ID '123456789' in chat '@examplechannel' to admin

Set 'chatId' to '@examplechannel' and 'userId' to '123456789'. No additional options need to be set.

Discussion