telebot icon indicating copy to clipboard operation
telebot copied to clipboard

bot: add an ability to use custom url builder

Open d0ctr opened this issue 2 years ago • 2 comments

Same reasons as for #558, but a more robust solution as allows to use one of the setting's fields instead of two (URL and test env switcher)

d0ctr avatar Aug 20 '23 22:08 d0ctr

I don't like the URLBuilder name, and what's the use case of being able to pass it to the bot settings?

demget avatar Nov 18 '23 16:11 demget

I don't like the URLBuilder name, and what's the use case of being able to pass it to the bot settings?

Telegram servers have a test environment, that has a different path: <base>/bot<token>/test/<method>. The name can be whatever you want, but without the builder or a special option the test environment is inaccessible.

d0ctr avatar Nov 18 '23 16:11 d0ctr

For testing purposes, I'll merge #558.

demget avatar Feb 20 '24 21:02 demget