invokeAfterMsg
Execute a request after another one completes successfully
Telegram will execute the nested request after the previous one succeeds. The client can send both requests in advance. Available to users and bots. [Sequential queries](https://core.telegram.org/api/invoking#sequential-requests).
| Name | Type | Required | Description |
|---|---|---|---|
msg_id | long | Yes | The 64-bit transport ID of the previous MTProto request. |
query | !X | Yes | A nested TL request that Telegram will execute after the previous one. |
Responses
X
MTProto RPC
- MSG_WAIT_TIMEOUT — The previous request timed out.
- MSG_WAIT_FAILED — The previous request failed with a RPC error.