teams_slash_create_discussion_legacy

Function teams_slash_create_discussion_legacy 

Source
pub async fn teams_slash_create_discussion_legacy(
    configuration: &Configuration,
    team_id: i32,
    teams_create_discussion_in_org_request: TeamsCreateDiscussionInOrgRequest,
) -> Result<TeamDiscussion, Error<TeamsSlashCreateDiscussionLegacyError>>
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 Create a discussion endpoint. Creates a new discussion post on a team’s page. This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "Rate limits for the API" and "Best practices for using the REST API." OAuth app tokens and personal access tokens (classic) need the write:discussion scope to use this endpoint.