pub struct Team {
    pub client: Client,
}

Fields

client: Client

Implementations

This function performs a GET to the /team.accessLogs endpoint.

Gets the access logs for the current team.

FROM: https://api.slack.com/methods/team.accessLogs

Parameters:

  • token: &str – Authentication token. Requires scope: admin.
  • before: &str – End of time range of logs to include in results (inclusive).
  • count: &str
  • page: &str

This function performs a GET to the /team.billableInfo endpoint.

Gets billable users information for the current team.

FROM: https://api.slack.com/methods/team.billableInfo

Parameters:

  • token: &str – Authentication token. Requires scope: admin.
  • user: &str – A user to retrieve the billable information for. Defaults to all users.

This function performs a GET to the /team.info endpoint.

Gets information about the current team.

FROM: https://api.slack.com/methods/team.info

Parameters:

  • token: &str – Authentication token. Requires scope: team:read.
  • team: &str – Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels.

This function performs a GET to the /team.integrationLogs endpoint.

Gets the integration logs for the current team.

FROM: https://api.slack.com/methods/team.integrationLogs

Parameters:

  • token: &str – Authentication token. Requires scope: admin.
  • app_id: &str – Filter logs to this Slack app. Defaults to all logs.
  • change_type: &str – Filter logs with this change type. Defaults to all logs.
  • count: &str
  • page: &str
  • service_id: &str – Filter logs to this service. Defaults to all logs.
  • user: &str – Filter logs generated by this user’s actions. Defaults to all logs.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more