Answer the question
In order to leave comments, you need to log in
How to correctly import the keyboard from another file?
I am writing a bot, but writing the entire keyboard in the main file is too much. How to import it correctly from a file with a keyboard into the main one?
For example, in a file with a keyboard, the code is:
tp = telebot.types.ReplyKeyboardMarkup(True, False)
tp.row('Technical support')
What should I write in the main file?
PS I'm a beginner and for some it's easy, but I'm still delving into it. Thank you for your time.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question