Struct slack_api::chat::DeleteRequest
[−]
[src]
pub struct DeleteRequest<'a> { pub ts: &'a str, pub channel: &'a str, pub as_user: Option<bool>, }
Fields
ts: &'a str
Timestamp of the message to be deleted.
channel: &'a str
Channel containing the message to be deleted.
as_user: Option<bool>
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]
fn clone(&self) -> DeleteRequest<'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 DeleteRequest<'a>
[src]
fn default() -> DeleteRequest<'a>
Returns the "default value" for a type. Read more