GramIO API Reference / gramio/dist / TelegramAPIResponse
Type Alias: TelegramAPIResponse<Methods>
TelegramAPIResponse<
Methods> =TelegramAPIResponseOk<Methods> |TelegramAPIResponseError
Defined in: @gramio/types/out/objects.d.ts:8939
The response contains a JSON object, which always has a Boolean field 'ok'.
Type Parameters
| Type Parameter | Default type |
|---|---|
Methods extends keyof APIMethods | keyof APIMethods |