MadelineProtoDocs/old_docs/API_docs_v65/constructors/http_wait.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

910 B

title description image
http_wait Http wait https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: http_wait

Back to constructors index

Http wait

Attributes:

Name Type Required Description
max_delay int Yes Max delay
wait_after int Yes Wait after
max_wait int Yes Max wait

Type: HttpWait

Example:

$http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int];

PWRTelegram json-encoded version:

{"_": "http_wait", "max_delay": int, "wait_after": int, "max_wait": int}

Or, if you're into Lua:

http_wait={_='http_wait', max_delay=int, wait_after=int, max_wait=int}