pub async fn teams_slash_update_discussion_legacy(
configuration: &Configuration,
team_id: i32,
discussion_number: i32,
teams_update_discussion_in_org_request: Option<TeamsUpdateDiscussionInOrgRequest>,
) -> Result<TeamDiscussion, Error<TeamsSlashUpdateDiscussionLegacyError>>
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 Update a discussion endpoint. Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth app tokens and personal access tokens (classic) need the write:discussion
scope to use this endpoint.