We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The situation is that there are several devices that use the Telethon + Opentele API. Is there some way to convert data from:
result = await client(functions.account.GetAuthorizationsRequest()) result = result.__getattribute__('authorizations')
into query parameters to generate a new client?
client = TelegramClient("telethon.session", api=api) await client.connect()
I noticed that the client's parameters and the response to the request differ in some parameters.
'TelegramAndroid() = { api_id: 6 api_hash: eb06d4abfb49dc3eeb1aeb98ae0f581e device_model: Huawei HUAWEI Y516-T00 system_version: SDK 29 app_version: 8.4.1 (2522) system_lang_code: en-US lang_pack: android lang_code: en pid: 14167883335082106939 }'
but from
GetAuthorizationsRequest()
slightly different data
device_model='Huawei Y516-' system_version='10 Q (29)' app_version='8.4.1'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The situation is that there are several devices that use the Telethon + Opentele API. Is there some way to convert data from:
into query parameters to generate a new client?
I noticed that the client's parameters and the response to the request differ in some parameters.
but from
slightly different data
The text was updated successfully, but these errors were encountered: