replace EditTextOnly state with Edit in button_edit_callback function
This commit is contained in:
parent
e1eb94a030
commit
d447fe0b19
@ -246,7 +246,11 @@ async fn button_edit_callback(
|
||||
|
||||
let lang = "ru".to_string();
|
||||
dialogue
|
||||
.update(State::EditTextOnly { literal, lang })
|
||||
.update(State::Edit {
|
||||
literal,
|
||||
lang,
|
||||
is_caption_set: false,
|
||||
})
|
||||
.await?;
|
||||
|
||||
bot.send_message(q.from.id, "Send text of button").await?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user