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
No but if you use an api id and api hash for many accounts, you will be banned
Читать полностью…Cause of your ip , (reused api id and api hash) , virtual number and account age
Читать полностью…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.
hello everybody
how can i send view using telethon i.e. it should be view from that account using code
Guys I found get_ping function what I didn't recognised whats its parameter ,
Can anyone give me some example and explain using?
Guys, could you please tell me where I can read about Telegram limits for messages, likes, and group invitations? Where can I find this information?🙏
Читать полностью…is this what you want? it's called unparsed not parsed
Читать полностью…What's your legitimate usecase for this? whatever it is, it is out of scope for being telethon related.
Читать полностью…This issue has already been fixed, but it's not yet available in PyPi. You can upgrade now with pip3 install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
.
replace it with if await bot.is_user_authorized():
Hey Nikku Ambani, don't do that again (advertising) or I will ban you. You have been warned.
Читать полностью…I have 20 telethon session
I want to send message to @test for example
I wrote this code :
files = [1.session, 2.session, 3.session,.... ]
for file in files :
bot = TelergamClient(file, api_id, api_hash)
await bot.connect()
status = await bot.get_me()
if status is not None :
......... # send message
await bot.disconnect()
await bot.connect()
Читать полностью…
New StackOverflow question
How can I avoid being hit with Telegram Flood Wait limit when trying to join multiple groups using their invite links?
https://stackoverflow.com/q/78957850
Unhandled exception on handler
Traceback (most recent call last):
File "/home/a1016688/.local/lib/python3.8/site-packages/telethon/client/updates.py", line 570, in _dispatch_update
await callback(event)
File "main.py", line 499, in handler
datas['Users'][str(replied.sender_id)]['WalletFile'] = replied.file.id
File "/home/a1016688/.local/lib/python3.8/site-packages/telethon/tl/custom/file.py", line 39, in id
return utils.pack_bot_file_id(self.media)
File "/home/a1016688/.local/lib/python3.8/site-packages/telethon/utils.py", line 1258, in pack_bot_file_id
size = size.location
AttributeError: 'PhotoSize' object has no attribute 'location'
some limits can be found here https://limits.tginfo.me/en
Читать полностью….text will get you this, and just call it formatted or not, don't mess it with the parsed or unparsed
Читать полностью…you've explained what you want wrong then, raw_text removes the formatting, and that's what you got
Читать полностью…Any idea how to mass verifiy telegram accounts that has
Number apikey api hash and when they first login using the bot it requests a verification code from the telegram app, how do I verifiy it automatically I can't think of anything