Struct line_messaging_api_rust::actions::Action [−][src]
pub struct Action { /* fields omitted */ }
Methods
impl Action
[src]
impl Action
pub fn new(kind: ActionType, label: &str) -> Action
[src]
pub fn new(kind: ActionType, label: &str) -> Action
pub fn create_empty() -> Action
[src]
pub fn create_empty() -> Action
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
pub fn create_message(label: &str, text: &str) -> Action
[src]
pub fn create_message(label: &str, text: &str) -> Action
pub fn create_uri(label: &str, uri: &str) -> Action
[src]
pub fn create_uri(label: &str, uri: &str) -> Action
pub fn create_postback(label: &str, data: &str) -> Action
[src]
pub fn create_postback(label: &str, data: &str) -> Action
pub fn create_postback_with_display_text(
label: &str,
data: &str,
display_text: &str,
text: &str
) -> Action
[src]
pub fn create_postback_with_display_text(
label: &str,
data: &str,
display_text: &str,
text: &str
) -> Action
pub fn create_postback_with_text(label: &str, data: &str, text: &str) -> Action
[src]
pub fn create_postback_with_text(label: &str, data: &str, text: &str) -> Action
pub fn create_datetimepicker(
label: &str,
data: &str,
mode: &str,
initial: &str,
max: &str,
min: &str
) -> Action
[src]
pub fn create_datetimepicker(
label: &str,
data: &str,
mode: &str,
initial: &str,
max: &str,
min: &str
) -> Action