grammyjs / grammY

The Telegram Bot Framework.
https://grammy.dev
MIT License
2.28k stars 112 forks source link

baseApiUrl not working #558

Closed ningtt closed 6 months ago

ningtt commented 6 months ago

code ` const { Bot, InputFile } = require("grammy"); const fs = require("fs");

const bot = new Bot("xxxxxx:xxxxx", { baseApiUrl: "http://1.2.3.4:1234", }); ` I made sure that the server I built was running properly. But when I configured baseApiUrl, he didn't seem to recognize this parameter and make changes.

KnorpelSenf commented 6 months ago

That option simply does not exist. Why did you think it exists? https://grammy.dev/ref/core/botconfig