Guide
Advanced
Introduction
Built-in
Official
Third-party
Examples
grammY
Telegram
Tools
Overview
Tutorials
Appearance
Type of a function that can perform an API call. Used for Transformers.
Source
R extends RawApi = RawApi
<M extends Methods<R>>( method: M, payload: Payload<M, R>, signal?: AbortSignal, ) => Promise<ApiResponse<ApiCallResult<M, R>>>