UNPKG

crypto-bot-api

Version:

Simple and minimalistic client for Telegram CryptoBot Crypto Pay API

15 lines (14 loc) 309 B
/** * Make HTTP GET request * * Module imported only for browsers bundle * * @param url - Url * @param apiKey - Crypto Bot API key * * @throws Error - If request fail * * @returns Raw response text */ declare const request: (url: string, apiKey: string) => Promise<string>; export default request;