slack_chat_api/
apps_permissions_scopes.rs1use crate::Client;
2use crate::ClientResult;
3
4pub struct AppsPermissionsScopes {
5 pub client: Client,
6}
7
8impl AppsPermissionsScopes {
9 #[doc(hidden)]
10 pub fn new(client: Client) -> Self {
11 AppsPermissionsScopes { client }
12 }
13
14 pub async fn list(
26 &self,
27 ) -> ClientResult<crate::Response<crate::types::ApiPermissionsScopesListSuccessSchema>> {
28 let url = self.client.url("/apps.permissions.scopes.list", None);
29 self.client
30 .get(
31 &url,
32 crate::Message {
33 body: None,
34 content_type: None,
35 },
36 )
37 .await
38 }
39}