pub struct AdminUsergroups {
    pub client: Client,
}

Fields

client: Client

Implementations

This function performs a POST to the /admin.usergroups.addChannels endpoint.

Add one or more default channels to an IDP group.

FROM: https://api.slack.com/methods/admin.usergroups.addChannels

Parameters:

  • token: &str – Authentication token. Requires scope: admin.usergroups:write.

This function performs a POST to the /admin.usergroups.addTeams endpoint.

Associate one or more default workspaces with an organization-wide IDP group.

FROM: https://api.slack.com/methods/admin.usergroups.addTeams

Parameters:

  • token: &str – Authentication token. Requires scope: admin.teams:write.

This function performs a GET to the /admin.usergroups.listChannels endpoint.

List the channels linked to an org-level IDP group (user group).

FROM: https://api.slack.com/methods/admin.usergroups.listChannels

Parameters:

  • token: &str – Authentication token. Requires scope: admin.usergroups:read.
  • usergroup_id: &str – ID of the IDP group to list default channels for.
  • team_id: &str – ID of the the workspace.
  • include_num_members: bool – Flag to include or exclude the count of members per channel.

This function performs a POST to the /admin.usergroups.removeChannels endpoint.

Remove one or more default channels from an org-level IDP group (user group).

FROM: https://api.slack.com/methods/admin.usergroups.removeChannels

Parameters:

  • token: &str – Authentication token. Requires scope: admin.usergroups:write.

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