Home - mkotb/Telegram-Errors GitHub Wiki

Welcome to the Telegram-Errors wiki!

Refer to the sidebar to find the page you're looking for.

Text used in the Wiki

Often the wiki will say Telegram will return X or something along those lines unless specified the raw response will look something like this:

{
  "ok":false,
  "error_code":400,
  "description":"X"
}

Sometimes, X will be prefixed with Bad Request:

Reading the Wiki

If a parameter is not specified in the page for the parameter's method specifically, you will want to look at its parent page. An example of this is to look at Send Methods before referring to methods such as sendMessage.

Regarding Parameter Types

If the parameter is optional and you do not provide the API the correct type for it, the majority of the time it will ignore the parameter in processing. For non-optional parameters, Telegram usually sends the not found or is empty response for that parameter. There should be documentation for that field if incorrect types are handled differently for it.

⚠️ **GitHub.com Fallback** ⚠️