Struct slack_api::chat::UpdateRequest  
                   
                       [−]
                   
               [src]
pub struct UpdateRequest<'a> {
    pub ts: &'a str,
    pub channel: &'a str,
    pub text: &'a str,
    pub attachments: Option<&'a str>,
    pub parse: Option<&'a str>,
    pub link_names: Option<bool>,
    pub as_user: Option<bool>,
}Fields
ts: &'a str
                           Timestamp of the message to be updated.
channel: &'a str
                           Channel containing the message to be updated.
text: &'a str
                           New text for the message, using the default formatting rules.
attachments: Option<&'a str>
                           Structured message attachments.
parse: Option<&'a str>
                           Change how messages are treated. Defaults to client, unlike chat.postMessage. See below.
link_names: Option<bool>
                           Find and link channel names and usernames. Defaults to none. This parameter should be used in conjunction with parse. To set link_names to 1, specify a parse mode of full.
as_user: Option<bool>
                           Pass true to update the message as the authed user. Bot users in this context are considered authed users.
Trait Implementations
impl<'a> Clone for UpdateRequest<'a>[src]
fn clone(&self) -> UpdateRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> Default for UpdateRequest<'a>[src]
fn default() -> UpdateRequest<'a>
Returns the "default value" for a type. Read more