InvokeWithReCaptchaRequest
Both users and bots may be able to use this request. See code examples.
---functions---
invokeWithReCaptcha#adbb0f94 {X:Type} token:string query:!X = XReturns
This request returns the result of whatever the result from invoking the request passed through query is.
Parameters
| token | string | |
| query | !X | A different Request must be supplied for this argument. |
Known RPC errors
This request can't cause any RPC error as far as we know.
Example
from telethon.sync import TelegramClient
from telethon import functions, types
with TelegramClient(name, api_id, api_hash) as client:
result = client(functions.InvokeWithReCaptchaRequest(
token='some string here',
query=other_request
))
print(result.stringify())