pub async fn teams_slash_list_discussions_legacy(
configuration: &Configuration,
team_id: i32,
direction: Option<&str>,
per_page: Option<i32>,
page: Option<i32>,
) -> Result<Vec<TeamDiscussion>, Error<TeamsSlashListDiscussionsLegacyError>>
Expand description
Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new List discussions
endpoint. List all discussions on a team’s page. OAuth app tokens and personal access tokens (classic) need the read:discussion
scope to use this endpoint.