Knowledge Drop

API Call Timeouts

  • 7 July 2021
  • 1 reply

Userlevel 4

Last tested: Nov 5, 2020

If you are using an SDK and you're hitting timeout errors on your calls, you should be able to adjust the timeout parameter on your call.

For example, with the Python SDK if you are running run_inline_query(), you should be able to format it in this manner:

run_inline_query({stuff}, {timeout: 3600}) 

to extend the timeout.

The default is 10 seconds.


This content is subject to limited support.                



1 reply

Userlevel 2

There are some more up-to-date examples for adjusting timeouts in this post: