function createRawApi(token, options, webhookReplyEnvelope) {
    const client = new ApiClient(token, options, webhookReplyEnvelope);
    const proxyHandler = {
        get(_, m) {
            return m === "toJSON"
                ? "__internal"
                : client.callApi.bind(client, m);
        },
        ...proxyMethods,
    };
    const raw = new Proxy({}, proxyHandler);
    const installedTransformers = client.installedTransformers;
    const api = {
        raw,
        installedTransformers,
        use: (...t) => {
            client.use(...t);
            return api;
        },
    };
    return api;
}
/**
 * Creates a new transformable API, i.e. an object that lets you perform raw API
 * calls to the Telegram Bot API server but pass the calls through a stack of
 * transformers before. This will create a new API client instance under the
 * hood that will be used to connect to the Telegram servers. You therefore need
 * to pass the bot token. In addition, you may pass API client options as well
 * as a webhook reply envelope that allows the client to perform up to one HTTP
 * request in response to a webhook call if this is desired.
 *
 * @param token The bot's token
 * @param options A number of options to pass to the created API client
 * @param webhookReplyEnvelope The webhook reply envelope that will be used
 */
Creates a new transformable API, i.e. an object that lets you perform raw API
calls to the Telegram Bot API server but pass the calls through a stack of
transformers before. This will create a new API client instance under the
hood that will be used to connect to the Telegram servers. You therefore need
to pass the bot token. In addition, you may pass API client options as well
as a webhook reply envelope that allows the client to perform up to one HTTP
request in response to a webhook call if this is desired.

@param token The bot's token
@param options A number of options to pass to the created API client
@param webhookReplyEnvelope The webhook reply envelope that will be used
Creates a new transformable API i . e . an object that lets you perform raw API calls to the Telegram Bot API server but pass the calls through a stack of transformers before . This will create a new API client instance under the hood that will be used to connect to the Telegram servers . You therefore need to pass the bot token . In addition you may pass API client options as well as a webhook reply envelope that allows the client to perform up to one HTTP request in response to a webhook call if this is desired . @param token The bot ' s token @param options A number of options to pass to the created API client @param webhookReplyEnvelope The webhook reply envelope that will be used
function createRawApi(token, options, webhookReplyEnvelope) {
    const client = new ApiClient(token, options, webhookReplyEnvelope);
    const proxyHandler = {
        get(_, m) {
            return m === "toJSON"
                ? "__internal"
                : client.callApi.bind(client, m);
        },
        ...proxyMethods,
    };
    const raw = new Proxy({}, proxyHandler);
    const installedTransformers = client.installedTransformers;
    const api = {
        raw,
        installedTransformers,
        use: (...t) => {
            client.use(...t);
            return api;
        },
    };
    return api;
}
function createRawApi ( token , options , webhookReplyEnvelope ) { const client = new ApiClient ( token , options , webhookReplyEnvelope ) ; const proxyHandler = { get ( _ , m ) { return m === "toJSON" ? "__internal" : client . callApi . bind ( client , m ) ; } , ... proxyMethods , } ; const raw = new Proxy ( { } , proxyHandler ) ; const installedTransformers = client . installedTransformers ; const api = { raw , installedTransformers , use : ( ... t ) => { client . use ( ... t ) ; return api ; } , } ; return api ; }
Creates a new transformable API, i.e.
Creates a new transformable API i . e .