Struct slack_api::files::ListRequest [] [src]

pub struct ListRequest<'a> {
    pub user: Option<&'a str>,
    pub channel: Option<&'a str>,
    pub ts_from: Option<u32>,
    pub ts_to: Option<u32>,
    pub types: Option<&'a str>,
    pub count: Option<u32>,
    pub page: Option<u32>,
}

Fields

Filter files created by a single user.

Filter files appearing in a specific channel, indicated by its ID.

Filter files created after this timestamp (inclusive).

Filter files created before this timestamp (inclusive).

Filter files by type:

all - All files spaces - Posts snippets - Snippets images - Image files gdocs - Google docs zips - Zip files pdfs - PDF files

You can pass multiple values in the types argument, like types=spaces,snippets.The default value is all, which does not filter the list.

Number of items to return per page.

Page number of results to return.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

Formats the value using the given formatter.