Invoke a raw MTProto method
invoke_mtprotoCall any Telegram API method by qualified name, auto-resolving peer fields. For when no dedicated tool fits.
Instructions
Call any Telegram API method by its qualified name (e.g. messages.SendMessage, channels.GetFullChannel, stories.GetAllStories). String values for fields named peer/channel/user/fromPeer/toPeer/bot/chat are auto-resolved to InputPeer/InputUser. Use this only when no dedicated tool fits — the API surface is huge and there are no per-method safety checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Qualified MTProto method/class name, e.g. "messages.SendMessage" | |
| params | No | Parameters object for the method constructor | |
| accountId | No |