Code Monkey home page Code Monkey logo

Comments (23)

sochix avatar sochix commented on July 18, 2024

See this https://core.telegram.org/api/errors#420-flood

from tlsharp.

starbug1 avatar starbug1 commented on July 18, 2024

Ok. I got it. then how many attempts of one method i can invoke?

from tlsharp.

sochix avatar sochix commented on July 18, 2024

I don't know

суббота, 3 октября 2015 г. пользователь starbug1 написал:

Ok. I got it. then how many attempts of one method i can invoke?


Reply to this email directly or view it on GitHub
#12 (comment).

Best regards, Ilya (http://sochix.ru)
С уважением, Илья (http://sochix.ru)

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

Ok. I got it. then how many attempts of one method i can invoke?

Put a delay of 2 seconds between invokes.

from tlsharp.

starbug1 avatar starbug1 commented on July 18, 2024

@delphiassistant : Thanks. i placed delay of 2500 between every method's invoke, but after almost 10 request FLOOD_WAIT error occur and say you should wait for example 270 sec. and because i need to send bulk requests to telegram what i must do to pass this error. Thanks.

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

Yeah and ahhh....
I seen it as well. it's not 10, that delay is per 9 request and is really
frustrating.
This occurs after 9 invokes to send message too.
در تاریخ ۴ اکتبر ۲۰۱۵ ۱۹:۳۰، "starbug1" [email protected] نوشت:

@delphiassistant https://github.com/delphiassistant : Thanks. i placed
delay of 2500 between every method's invoke, but after almost 10 request
FLOOD_WAIT error occur and say you should wait for example 270 sec. and
because i need to send bulk requests to telegram what i must do to pass
this error. Thanks.


Reply to this email directly or view it on GitHub
#12 (comment).

from tlsharp.

starbug1 avatar starbug1 commented on July 18, 2024

@delphiassistant: then you say telegram server works with count of requests not with (count/time)? i mean count of requests in time unit is not important?

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

I can't say exectly which parameter is important.
در تاریخ ۴ اکتبر ۲۰۱۵ ۲۱:۵۸، "starbug1" [email protected] نوشت:

@delphiassistant https://github.com/delphiassistant: then you say
telegram server works with count of requests not with (count/time)? i mean
count of requests in time unit is not important?


Reply to this email directly or view it on GitHub
#12 (comment).

from tlsharp.

eslamih10 avatar eslamih10 commented on July 18, 2024

@starbug1,did you find solution for flood_wait?

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

Not yet. It's limit is too dumb. 9 Requests and time is not important.

from tlsharp.

eslamih10 avatar eslamih10 commented on July 18, 2024

mr keramati,You have worked with telegram API?

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

Sure.

from tlsharp.

starbug1 avatar starbug1 commented on July 18, 2024

@eslamih10: as delphiassistant said there is a maximum number of attempts of one method. but if you can delete your session and recreate it under 200 second(for every usual waits), then you can do what you want.

from tlsharp.

eslamih10 avatar eslamih10 commented on July 18, 2024

@delphiassistant,Did you use Visual studio 2013 or 2015?

from tlsharp.

eslamih10 avatar eslamih10 commented on July 18, 2024

@starbug1,Unfortunately,When I delete the session, there is still the problem!

from tlsharp.

starbug1 avatar starbug1 commented on July 18, 2024

you must delete session. and create it again and add the code you get from telegram to it.this process must be done under logic time.

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

as delphiassistant said there is a maximum number of attempts of one method. but if you can delete your session and recreate it under 200 second(for every usual waits), then you can do what you want.

This will be a tedious task since you will need to get another authentication code from telegram and add it into the code.

Did you use Visual studio 2013 or 2015?
VS2015.

Unfortunately,When I delete the session, there is still the problem!
It seems to be based on invoker ip address.

from tlsharp.

starbug1 avatar starbug1 commented on July 18, 2024

@delphiassistant: you can do this programatically. not with your hands. just be a bit creative.

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

You mean by having telegram client app open, and using windows hooks?

from tlsharp.

alipishvaee avatar alipishvaee commented on July 18, 2024

it means There is Not A Soultion For Preventing This Error?

from tlsharp.

hosseinGanjyar avatar hosseinGanjyar commented on July 18, 2024

@starbug1 Delete session.dat file? how?

from tlsharp.

hosseinGanjyar avatar hosseinGanjyar commented on July 18, 2024

I solved this issue. please send your question in my group:
https://t.me/joinchat/HhLHow3Ed97A0gRZo7Ggog

from tlsharp.

hosseinGanjyar avatar hosseinGanjyar commented on July 18, 2024

@mostafa8026 Foolish!

from tlsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.