create EditTextOnly state

reason: Edit state already exists, but it accepts any message,
but there is need in ability to accept only text, for example for
button editing
This commit is contained in:
Akulij 2025-05-01 14:35:17 +03:00
parent fed5d8f5b7
commit 4474188655

View File

@ -71,6 +71,10 @@ pub enum State {
lang: String,
is_caption_set: bool,
},
EditTextOnly {
literal: String,
lang: String,
},
EditButton,
}