invokeWithLayer
Signature
Section titled “Signature”invokeWithLayer#da9b0d0d layer:int query:!X = X;Result type
Section titled “Result type”X
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| layer | int | — | — | |
| query | !X | — | — |
Python binding
Section titled “Python binding”from miniproto.raw.functions import InvokeWithLayerPublic access: miniproto.raw.functions.InvokeWithLayer.
Result family
Section titled “Result family”X (no selected constructor result-family page)
RPC errors
Section titled “RPC errors”| Code | Error | Description |
|---|---|---|
| 400 | AUTH_BYTES_INVALID |
The provided authorization is invalid. |
| 400 | CDN_METHOD_INVALID |
You can’t call this method in a CDN DC. |
| 400 | CONNECTION_API_ID_INVALID |
The provided API id is invalid. |
| 400 | CONNECTION_LAYER_INVALID |
Layer invalid. |
| 400 | INVITE_HASH_EXPIRED |
The invite link has expired. |
| 403 | CHAT_WRITE_FORBIDDEN |
You can’t write in this chat. |
| 406 | INVITE_HASH_EXPIRED |
The invite link has expired. |
Accepted types
Section titled “Accepted types”X (no selected constructor result-family page)
Returned types
Section titled “Returned types”X (no selected constructor result-family page)
Related methods
Section titled “Related methods”initConnection, invokeAfterMsg, invokeAfterMsgs, invokeWithApnsSecret, invokeWithBusinessConnection, invokeWithGooglePlayIntegrity, invokeWithMessagesRange, invokeWithReCaptcha, invokeWithTakeout, invokeWithoutUpdates
Availability evidence
Section titled “Availability evidence”- unauthenticated allowed