---
title: "leaveGroupChat(_:)"
framework: TelephonyMessagingKit
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+]
path: "telephonymessagingkit/rcsservice/leavegroupchat(_:)"
---

# leaveGroupChat(_:)

Leave a group chat.

## Declaration

```swift
final func leaveGroupChat(_ request: RCSService.LeaveGroupChatRequest) async throws
```

## Parameters

- `request`: Request specifying the group to leave.

## Discussion

Discussion note: RCSService.Error if there was an error while performing the operation.

## See Also

### Managing group chats

- [createGroupChat(_:)](telephonymessagingkit/rcsservice/creategroupchat(_:).md)
- [RCSService.CreateGroupChatRequest](telephonymessagingkit/rcsservice/creategroupchatrequest.md)
- [RCSService.LeaveGroupChatRequest](telephonymessagingkit/rcsservice/leavegroupchatrequest.md)
- [addGroupChatParticipants(_:)](telephonymessagingkit/rcsservice/addgroupchatparticipants(_:).md)
- [RCSService.AddGroupChatParticipantsRequest](telephonymessagingkit/rcsservice/addgroupchatparticipantsrequest.md)
- [removeGroupChatParticipants(_:)](telephonymessagingkit/rcsservice/removegroupchatparticipants(_:).md)
- [RCSService.RemoveGroupChatParticipantsRequest](telephonymessagingkit/rcsservice/removegroupchatparticipantsrequest.md)
- [changeGroupChatSubject(_:)](telephonymessagingkit/rcsservice/changegroupchatsubject(_:).md)
- [RCSService.ChangeGroupChatSubjectRequest](telephonymessagingkit/rcsservice/changegroupchatsubjectrequest.md)
- [groupChatEvents](telephonymessagingkit/rcsservice/groupchatevents.md)
- [RCSService.GroupChatEvent](telephonymessagingkit/rcsservice/groupchatevent.md)
