DEV Community

loading...

Discussion on: Making Telegram Bots with Python

Collapse
tbhaxor profile image
Gurkirat Singh Author

Yes, you can use these call back functions in the class as well. All you have to do is use self.methodName and in class it should have def methodName(self, update, context)