Skip to content

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'.

Documentation

Properties

PropertyTypeDescriptionDefined in
descriptionstringA human-readable description of the result@gramio/types/out/objects.d.ts:8923
error_codenumberAn Integer error code. Its contents are subject to change in the future.@gramio/types/out/objects.d.ts:8927
okfalseIn case of an unsuccessful request, 'ok' equals false@gramio/types/out/objects.d.ts:8919
parameters?TelegramResponseParametersOptional field which can help to automatically handle the error@gramio/types/out/objects.d.ts:8931