We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MRE: https://github.com/Tishka17/aiogram_dialog/blob/develop/example/input_media_group.py
If you set ShowMode.EDIT in start() - message don't be edited:
async def start(message: Message, dialog_manager: DialogManager): await dialog_manager.start(Medias.start, mode=StartMode.RESET_STACK, show_mode=ShowMode.EDIT)
If you set show mode by dialog_manager.show_mode = ShowMode.EDIT - message will be edited:
async def on_input_photo(message: Message, widget: MessageInput, dialog_manager: DialogManager): dialog_manager.show_mode = ShowMode.EDIT dialog_manager.dialog_data.setdefault("photos", []).append( (message.photo[-1].file_id, message.photo[-1].file_unique_id), )
The text was updated successfully, but these errors were encountered:
note: now i know that showmode works only on request.
Sorry, something went wrong.
We need to clarify this behavior in documentation: all show modes apply only for single update
Successfully merging a pull request may close this issue.
MRE: https://github.com/Tishka17/aiogram_dialog/blob/develop/example/input_media_group.py
If you set ShowMode.EDIT in start() - message don't be edited:
If you set show mode by dialog_manager.show_mode = ShowMode.EDIT - message will be edited:
The text was updated successfully, but these errors were encountered: