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
Okay thank you. Will gather some information first
Читать полностью…Now I recall that weeks ago (before breaking everything) 2 of my userbots got Floodwait
Might be that telegram blacklisted my vps?
But related to my server or telegram's servers? I think mine, right?
Читать полностью…Same answer applies as the other chat, since it's server related, you can try ask this sexy milf in your area.
include proper info on good/bad server locations, a sample public channel and listener account datacenter. the answer is usually, it's expected. but yeah, maybe for a clarification if he would give it
for example, to share the entity from bot to the user, I can forward somebody's message to the bot to the user?
Читать полностью…no, each account will see a different hash for each entity, making them invalid to other users
Читать полностью…Why is it different from the example from https://core.telegram.org/api/entities ?
Читать полностью…How to specify a language for a code block ?
I'm using parse_mode=html
Telethon is free software. That means using it is a right: you are free to use it for absolutely any purpose whatsoever. However, help and support with using it is a privilege. If you misbehave or want to do bad things, despite possibly having good intentions, nobody is obligated to help you.
Читать полностью…Is it a problem using:
@client.on(events.Raw)
async def handler(update):
print(update.stringify())
while True:
client.start()
time.sleep(10)
Because with this script I receive the updates every 10sec (faster than before)
If it doesn't go on Floodwait, it might be a solution. Works with smaller sleep values
I mentioned who you should ask. compile bunch of needed info on the behavior and head there. it's highly not likely to be client related if even manual GetChannelDifference can't reduce delay of implicit updates
Читать полностью…Both, Telegram server is the one in control, your location is inducer or whatever causes delays
Читать полностью…since GetGroupParticipants is somewhat offset type and vague fields, here is an example https://pastebin.com/raw/2ZJ9Q3qu, you just loop until no more is left, if you don't want async iterator and yields, just replace it with appends and a list, if you don't want call .participants extra info too, you can omit that and just get objects in .users and .chats
Читать полностью…Hello. I receive updates slowly from big channels. I already have cryptg installed
With another library I didn't receive those updates at all
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.
Thank you for the answer! Maybe you have any suggestion for this case? Maybe to establish some connection between these clients to share entities
Читать полностью…Hello!
Is there a way to somehow share entities between bot and user sessions? I want to perform some actions which require an entity to exist in a session file. While this entity has been seen only by my bot client, for example, and not by my user client
i'm having a live chat on the channel, i wish to 'snapshot' users are in without doing it.by hands. is that possible?
Читать полностью…if I pass a list to
InviteToChannelRequest(
channel=dst_group,
users=[frst_friend, scnd_friend, thrd_friend, ...]
)
Ok, i replace password as password=password(before i replaced all as keyword), now it typing that im dont giving phone
Читать полностью…