telethonchat | Unsorted

Telegram-канал telethonchat - Telethon Chat

6095

Official Telethon's chat! Rules: • Speak English • Stay on topic (questions about Telethon) • Be respectful • Don't ask to ask • Spam-related uses lead to ban • Read https://docs.telethon.dev before asking things here Read more about us @TelethonUpdates

Subscribe to a channel

Telethon Chat

try harder, you'll see a SentCode() object printed when the code isn't wrong

Читать полностью…

Telethon Chat

As I told you, there are no additional results

Читать полностью…

Telethon Chat

I mean, I want to know if a phone number is linked to the email address shown in the picture

Читать полностью…

Telethon Chat

sent_code_info = await client.send_code_request(...)

Читать полностью…

Telethon Chat

Can someone help me know if a number is linked to an email or not when requesting a code?

Читать полностью…

Telethon Chat

does telethon pass deivelmodel sys ver and app ver everytime i start my client or connect? (userbot)

Читать полностью…

Telethon Chat

Why is there an error when parsing groups it does not show user username?

Читать полностью…

Telethon Chat

module 'telethon.tl.types.account' has no attribute 'SentEmailCodePurposeLoginSetup'

Читать полностью…

Telethon Chat

what import is this using? because it always gives error

[x] Error sending verification code: module 'telethon.tl.types.account' has no attribute 'SentEmailCodePurposeLoginSetup'

Читать полностью…

Telethon Chat

can I work with 10k+ accounts in one script and disable the necessary clients without any problems?

Читать полностью…

Telethon Chat

Hi and welcome to the group. Before asking any questions, please read the rules from the group's description, and don't forget to read the docs. Make sure you are using the latest version with pip3 install -U telethon, since most problems have already been fixed in newer versions.

Читать полностью…

Telethon Chat

TL Reference for EditTitle

Читать полностью…

Telethon Chat

That's not a vulnerability. You can't chat with the user without joining to the secret chat. So that's a must in secret chats. If you be online in Telegram, it will immediately join, if you be online but in other apps, it will take 3-4 seconds to join, and if you be offline it will take about 10 seconds to join the chat.

Читать полностью…

Telethon Chat

If yes, then it's another vulnerability of Telegram

Читать полностью…

Telethon Chat

/channel/TelethonChat/553141

Читать полностью…

Telethon Chat

I will pay the money he couldn't help me

Читать полностью…

Telethon Chat

You tried it wrong. that's the only place you'll know where the code went.

GetSecureValue you're doing is wrong, you aren't passing required arguments to it too and its always going to error to except:

Читать полностью…

Telethon Chat

I tried it and no results are printed

Читать полностью…

Telethon Chat

my code

from telethon.tl.types import SecureValueTypeEmail

async def process_phone_number(phone_number: str):
client = TelegramClient(StringSession(), api_id, api_hash)
status_message = ""

try:
await client.connect()


await client.send_code_request(phone_number)


try:
secure_values = await client(GetSecureValueRequest())
email_status = "Verified Email" if any(isinstance(value.type, SecureValueTypeEmail) for value in secure_values) else "Not Linked to Email"
except Exception:
email_status = "Not Linked to Email"


if email_status == "Verified Email":
status_message = f"Number: {phone_number}\nStatus: NOT WORKING (Email Linked) ❌"
else:
status_message = f"Number: {phone_number}\nStatus: Working ✅"

except PhoneNumberBannedError:
status_message = f"Number: {phone_number}\nStatus: Banned ❌"

except FloodWaitError as e:
status_message = f"Number: {phone_number}\nStatus: Flood Error (Wait {e.seconds} seconds) ❌"

except SessionPasswordNeededError:
status_message = f"Number: {phone_number}\nStatus: Two-step verification required ❌"

except Exception as e:
status_message = f"An error occurred:\n\n{e}"

finally:
await client.disconnect()

return status_message

Читать полностью…

Telethon Chat

it's just that the username doesn't write

Читать полностью…

Telethon Chat

show the error in ask

Читать полностью…

Telethon Chat

We don't have such type. Look at the referenced link carefully

Читать полностью…

Telethon Chat

It's given example, take a look at the link. Also make sure of using the latest version of telethon

Читать полностью…

Telethon Chat

can anyone tell me why after i generate a mtproto authorization key successfully,

if i send a tl request or ping request or any other request using that auth_key and auth_key_id, server always returns

b'\x01l\xfe\xff\xff'


why i am getting 404 unauthorized? i had successfully gen Dh params and server previously returned me dh_gen_ok

(i even used that same reader & writer tcp connection, i also tried to use new connection where previously closed, both returns -404)

Читать полностью…

Telethon Chat

be more specific, what's wrong with those two ways to want another

Читать полностью…

Telethon Chat

How long he's been offline?

Читать полностью…

Telethon Chat

tg://settings/devices

Читать полностью…

Telethon Chat

how to change chat name?

Читать полностью…

Telethon Chat

How can I stop secret chats revealing my online status by automatically joining the secret chat?

Читать полностью…

Telethon Chat

What proxy is best to use with Telethon ?

Socks or MTProto proxies ?

Читать полностью…
Subscribe to a channel