Struct slack_chat_api::team_profile::TeamProfile
source · pub struct TeamProfile {
pub client: Client,
}Fields§
§client: ClientImplementations§
source§impl TeamProfile
impl TeamProfile
sourcepub async fn get(&self, visibility: &str) -> Result<TeamProfileGetSuccessSchema>
pub async fn get(&self, visibility: &str) -> Result<TeamProfileGetSuccessSchema>
This function performs a GET to the /team.profile.get endpoint.
Retrieve a team’s profile.
FROM: https://api.slack.com/methods/team.profile.get
Parameters:
token: &str– Authentication token. Requires scope:users.profile:read.visibility: &str– Filter by visibility.