Fix account enrollment and operator callback flows with Redis scenarios
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -10,3 +10,10 @@ async def answer_plain_pages(message, text, **kwargs):
|
||||
await message.answer(text[:end], parse_mode=None)
|
||||
text = text[end:]
|
||||
return await message.answer(text, parse_mode=None, **kwargs)
|
||||
|
||||
|
||||
async def edit_plain_pages(message, text, **kwargs):
|
||||
if len(text) <= 2000:
|
||||
return await message.edit_text(text, parse_mode=None, **kwargs)
|
||||
await message.edit_text("Результат операции — в сообщениях ниже.", parse_mode=None)
|
||||
return await answer_plain_pages(message, text, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user