GramIO API Reference / gramio/dist / Hooks / OnResponse
Type Alias: OnResponse()<Methods>
OnResponse<
Methods> = (context) =>unknown
Defined in: gramio/index.d.ts:775
Type for onResponse hook
Type Parameters
| Type Parameter | Default type |
|---|---|
Methods extends keyof APIMethods | keyof APIMethods |
Parameters
| Parameter | Type |
|---|---|
context | AnyTelegramMethodWithReturn<Methods> |
Returns
unknown