aiogram_dialog icon indicating copy to clipboard operation
aiogram_dialog copied to clipboard

Edit Dialog Window after MessageInput and not "republish" it

Open AlexanderRyzhov opened this issue 2 years ago • 2 comments

Dialog windows are normally shown in one chat message by editing this message when user ineracts with it with help of inline buttons. But after usage of text input with MessageInput widget main dialog window is send as new message, and not edited. Is there any way to achive such behaviour, when user input is processed and main dialog is edited and not published one more time?

AlexanderRyzhov avatar Aug 27 '22 11:08 AlexanderRyzhov

I am not sure, but maybe using TextInput in place of MessageInput would solve my problem? Is there any example of TextInput widget usage?

AlexanderRyzhov avatar Aug 29 '22 05:08 AlexanderRyzhov

Yes. You can set manager.show_mode=ShowMode.EDIT in you message input callbacle

Tishka17 avatar Sep 07 '22 21:09 Tishka17