Group FAQs

Last updated: 2020-07-27 17:38:34

    How do I mute or unmute group members in a group chat?

    Muting is a way to control how group members send messages. The muted member cannot send messages during the muting period. For more information on how to mute members, see the following SDK documents:

    Additionally, app admins can mute any member in any group through a RESTful API. For more information, see the RESTful API: Batch Muting and Unmuting.

    How do I query muted members and their muting periods?

    Group admins and the group owner can mute or unmute members through the API provided by the IM SDK. To unmute members, set the muting period to 0.
    To query information about muted members, you need to query group member profiles. For more information, see the following SDK documents:

    Additionally, the app admin can query information about muted members through a RESTful API. For more information, see the RESTful API: Obtaining the List of Muted Members.

    How do I view group messages from before I joined the group?

    To view historical group messages sent before you joined the group, historical messages for the type of this group must support cloud storage. Based on group types and set use cases, the following configurations apply:

    • Audio-and-video chat rooms (AVChatRoom) and broadcasting chat rooms (BChatRoom) in early versions do not support historical message storage. Therefore, you cannot view messages from before you joined these two types of groups.
    • For non-live streaming groups, work groups (Work) and public groups (Public) by default do not allow members to view historical messages from before they joined the groups, whereas meeting groups (Meeting) by default allow members to view historical messages from before they joined the groups. To modify the default configuration, you can submit a ticket to apply for modification.

    The default retention period of historical messages of non-live streaming groups is 7 days (30 days for Flagship Edition). To extend this period, log in to the console and choose Feature Configuration. Extending the message retention period is a paid value-added service. For more information on billing, see Pricing.

    What are the differences between AVChatRoom and Meeting (ChatRoom in early versions)?

    These two types of groups are designed for different scenarios. Specifically, Meeting is suitable for medium-sized groups (with less than 6,000 members), whereas AVChatRoom is suitable for large-scale live-streaming scenarios with unlimited members. The following table lists the major differences between their features:

    Group Feature Meeting AVChatRoom
    Maximum group members 6,000 Unlimited
    Group member information All group member information is saved Only the information of 300 group members is saved
    Group owner can set group admins Yes No
    Delete group members The group admin, group owner, and app admin can delete group members. Not supported
    Message roaming Supported Not supported
    Members can view historical messages from before they joined the group Yes. Messages within the retention period of historical messages can be viewed by default. No
    Notification on member changes Not supported Supported
    App admin can import groups Yes No

    Why cannot I obtain the values of a group/group member custom field?

    Try the following troubleshooting methods:

    1. Check whether the custom field is correctly configured in the console.
    2. Verify the following in the query request: the requester has the read permission and the group type supports the custom field.
    3. Verify whether the configuration request of the custom field has succeeded.
    4. For group custom fields:
      • iOS: before logging in to the IM SDK, navigate to TIMManager > setUserConfig > TIMUserConfig > TIMGroupInfoOption > groupCustom to set the relevant configuration.
      • Android: before logging in to the IM SDK, navigate to TIMManager > setUserConfig > TIMUserConfig > TIMGroupSettings > groupInfoOptions > setCustomTags to set the relevant configuration.
    5. For group member custom fields:
      • iOS: before logging in to the IM SDK, navigate to TIMManager > setUserConfig > TIMUserConfig > TIMGroupMemberInfoOption > memberCustom to set the relevant configuration.
      • Android: before logging in to the IM SDK, navigate to TIMManager > setUserConfig > TIMUserConfig > TIMGroupSettings > memberInfoOptions > setCustomTags to set the relevant configuration.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help