Transfer channel ownership
transfer_ownershipTransfer creator rights of a Telegram chat to another user, using the account's 2FA password for verification.
Instructions
Transfer creator rights to another user. Requires the account 2FA password (Telegram enforces this).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"peer": "<peer>",
"newOwner": "<newOwner>",
"password": "<password>"
},
"name": "transfer_ownership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| newOwner | Yes | ||
| password | Yes | Current account 2FA cloud password | |
| accountId | No |