Answer the question
In order to leave comments, you need to log in
How to correctly process strings in Russian in RegexHandler id?
current code that works:
def start(bot, update):
reply_keyboard =[
['One'],
['Two']
]
return SOME
SOME: [RegexHandler('^(One|Two)$', gender)],
def start(bot, update):
reply_keyboard =[
['Один'],
['Два']
]
return SOME
SOME: [RegexHandler('^(Один|Два)$', gender)],
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