Replies: 3 comments 5 replies
-
Hi, Let's see if @Badiboy 's opinion regarding this has changed |
Beta Was this translation helpful? Give feedback.
-
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... |
Beta Was this translation helpful? Give feedback.
-
@Badiboy ping :/ |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions