Telegram GramPro icon

Telegram GramPro

Advanced Telegram MTProto client

Actions4

Channel → Add Member

AI-generated

Summary

Invites a user to a Telegram channel

Inputs

  • channelId (required) — Channel or group ID, username (@channel), or invite link
  • userIdToAdd (required) — The username or numeric ID of the user to add to the channel/group

Output shape

object

Returns success with user/channel IDs or failure with error message

Examples

Example 1: Add user by username

channelId: @mychannel, userIdToAdd: @username123

Example 2: Add user by numeric ID

channelId: -1001234567890, userIdToAdd: 123456789

Links

Discussion