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

Timestamp of the message to be updated.

Channel containing the message to be updated.

New text for the message, using the default formatting rules.

Structured message attachments.

Change how messages are treated. Defaults to client, unlike chat.postMessage. See below.

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.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Default for UpdateRequest<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> Debug for UpdateRequest<'a>
[src]

Formats the value using the given formatter.