Struct slack_api::reactions::AddRequest
[−]
[src]
pub struct AddRequest<'a> {
pub name: &'a str,
pub file: Option<&'a str>,
pub file_comment: Option<&'a str>,
pub channel: Option<&'a str>,
pub timestamp: Option<&'a str>,
}Fields
name: &'a str
Reaction (emoji) name.
file: Option<&'a str>
File to add reaction to.
file_comment: Option<&'a str>
File comment to add reaction to.
channel: Option<&'a str>
Channel where the message to add reaction to was posted.
timestamp: Option<&'a str>
Timestamp of the message to add reaction to.
Trait Implementations
impl<'a> Clone for AddRequest<'a>[src]
fn clone(&self) -> AddRequest<'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 AddRequest<'a>[src]
fn default() -> AddRequest<'a>
Returns the "default value" for a type. Read more