• UIKit
  • SDK
  • サーバー API
iOS and macOS/
Build Basic Interfaces/
  • Overview
  • Run Demo
  • 開始
  • インストール
    • TUIKit
    • TUIChat のみ
  • Build Basic Interfaces
    • Chat
    • Conversation List
    • Contact List
    • Add Contact
    • Create Group Chat
    • Video and Audio Call
  • Features
    • 反応
    • Quote
    • 既読レシート
    • ユーザーのオンライン状態
    • Translation
    • Voice to Text
    • メッセージ検索
  • カスタマイズ
    • メッセージのカスタマイズ
    • 絵文字とステッカーのカスタマイズ
  • ローカライズ
  • Changelog
  • Guideline for Beginners
  • コンソールガイド
    • アプリケーションの作成とアップグレード
    • 基本設定
    • 機能設定
    • アカウント管理
    • グループ管理
    • コールバック設定
  • 製品紹介
    • メッセージ管理
      • シングルチャットメッセージ
      • メッセージの保存
      • オフラインプッシュ
      • グループメッセージ
      • メッセージフォーマット
    • アカウントシステム
      • ログイン認証
      • オンライン状態管理
    • グループ関連
      • グループシステム
      • グループ管理
    • ユーザープロファイルとリレーションシップチェーン
      • 資料管理
      • リレーションシップチェーン管理
  • 購入ガイド
    • 課金の概要
    • 価格
  • エラーコード

Create Group Chat

This article will guide you through creating a group on TUIKit.

Display Effect

After creating the group chat, you can start sending messages and interacting in the group. If you go back to the Conversation List at this time, you will find the group chat you just created:
Created group successfully
Conversation List is updated

Environment Requirements

Xcode 10 or later
iOS 9.0 or later


Before building the interface, please ensure that you have completed the following 4 things:
1. Created an application in the console.
2. Created some user accounts in the console.
3. Integrated TUIKit.
4. Called the TUILogin login API to log in to the component.
1. All components use this API to log in. You can log in once every time you start the application.
2. Please make sure that the login is successful, and we recommend that you do the following in the callback of successful login.
If you haven't completed the above 4 steps, please refer to the corresponding steps in Getting Started first, otherwise you may encounter obstacles when implementing the following features.
If you have already completed them, please continue reading below.

Creates a group

There are two prerequisites for manually creating a group on TUIKit:
1. Loading the conversation list. Please refer to the document: Build Conversation List.
2. Added some contacts. Please refer to the document: Add Contacts.
There are 3 more steps to follow:
1. On the loaded conversation list interface, click the + icon in the upper right corner to pop up a submenu and select Create Group Chat.
2. Select several group members. These members are the contacts you have added. If you have not added any contacts before, nobody will be available to select on this screen.
3. Set the group chat name, type, avatar, etc.
The effect is shown below:
Click Create Group Chat
Select group members
Group Settings

More practices

You can locally run the TUIKitDemo source code to explore more interface implementations.

Contact Us

If you have any questions about this article, feel free to join the Telegram Technical Group, where you will receive reliable technical support.