Struct slack_api::channels::HistoryRequest
[−]
[src]
pub struct HistoryRequest<'a> { pub channel: &'a str, pub latest: Option<&'a str>, pub oldest: Option<&'a str>, pub inclusive: Option<bool>, pub count: Option<u32>, pub unreads: Option<bool>, }
Fields
channel: &'a str
Channel to fetch history for.
latest: Option<&'a str>
End of time range of messages to include in results.
oldest: Option<&'a str>
Start of time range of messages to include in results.
inclusive: Option<bool>
Include messages with latest or oldest timestamp in results.
count: Option<u32>
Number of messages to return, between 1 and 1000.
unreads: Option<bool>
Include unread_count_display in the output?
Trait Implementations
impl<'a> Clone for HistoryRequest<'a>
[src]
fn clone(&self) -> HistoryRequest<'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 HistoryRequest<'a>
[src]
fn default() -> HistoryRequest<'a>
Returns the "default value" for a type. Read more