Skip to main content

pressed_choice

Function pressed_choice 

Source
pub fn pressed_choice(action: &str) -> Option<usize>
Expand description

Which of a notice’s buttons a press names (remind_offering): “choice-1” the second; a click on the notice itself (“default”) the first; none when it closed unanswered (“__closed”) or for anything else.