GramIO API Reference / gramio/dist / TelegramAPIResponseError
Interface: TelegramAPIResponseError
Defined in: @gramio/types/out/objects.d.ts:8915
In case of an unsuccessful request, 'ok' equals false and the error is explained in the 'description'.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
description | string | A human-readable description of the result | @gramio/types/out/objects.d.ts:8923 |
error_code | number | An Integer error code. Its contents are subject to change in the future. | @gramio/types/out/objects.d.ts:8927 |
ok | false | In case of an unsuccessful request, 'ok' equals false | @gramio/types/out/objects.d.ts:8919 |
parameters? | TelegramResponseParameters | Optional field which can help to automatically handle the error | @gramio/types/out/objects.d.ts:8931 |