Struct slack_api::im::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

Direct message channel to fetch history for.

End of time range of messages to include in results.

Start of time range of messages to include in results.

Include messages with latest or oldest timestamp in results.

Number of messages to return, between 1 and 1000.

Include unread_count_display in the output?

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for HistoryRequest<'a>

impl<'a> Sync for HistoryRequest<'a>