Struct slack_api::chat::DeleteRequest [] [src]

pub struct DeleteRequest<'a> {
    pub ts: &'a str,
    pub channel: &'a str,
    pub as_user: Option<bool>,
}

Fields

Timestamp of the message to be deleted.

Channel containing the message to be deleted.

Pass true to delete the message as the authed user. Bot users in this context are considered authed users.

Trait Implementations

impl<'a> Clone for DeleteRequest<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

Formats the value using the given formatter.