Repository navigation
Replies: 3 comments 5 replies
|
Hi, Let's see if @Badiboy 's opinion regarding this has changed |
|
I still hold the position that bot interface should be as close to API as it is possible. The reason is not to hurt user with unrecognized functions. However I have nothing against creating separate module/class that can carry such kind of functions to make life easier to ones who are already deep inside the library to use it with comfort. It can even be a class that inherit Telebot / Asynctelebot and extend it with as many functions as you can imagine... |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Adding bound methods for update types ( Message, CallbackQuery, InlineQuery, etc.. ) will make the life more easier by fill the required parameters automatically instead of fill them manually.
That's applied also on all update types, i'm just wondering how famous lib like pytba doesn't support bound methods.
All reactions