Class CreateGroupErrorInfo

  • All Implemented Interfaces:

    
    public final class CreateGroupErrorInfo
    
                        

    创建群组失败时返回的结构化详情。集合结构是构造时的只读快照,列表元素 GroupMemberInfo 保持其既有可变语义。

    Since:

    5.46.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateGroupErrorInfo(List<String> censorFailedFields, List<GroupMemberInfo> failedUserInfos) 构造创建群组失败详情。
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<String> getCensorFailedFields() 获取未通过内容审核的群资料字段。
      List<GroupMemberInfo> getFailedUserInfos() 获取加群失败的用户信息。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CreateGroupErrorInfo

        CreateGroupErrorInfo(List<String> censorFailedFields, List<GroupMemberInfo> failedUserInfos)
        构造创建群组失败详情。
        Parameters:
        censorFailedFields - 未通过内容审核的群资料字段
        failedUserInfos - 加群失败的用户信息
    • Method Detail

      • getCensorFailedFields

         List<String> getCensorFailedFields()

        获取未通过内容审核的群资料字段。

        Returns:

        非空、不可修改的字段列表

        Since:

        5.46.0

      • getFailedUserInfos

         List<GroupMemberInfo> getFailedUserInfos()

        获取加群失败的用户信息。

        Returns:

        非空且不能增删元素的用户信息列表;列表中的用户信息仍可修改

        Since:

        5.46.0