Group

public class Group : AppEntity

Undocumented

  • provides guid of group

    Declaration

    Swift

    @objc
    public var guid: String { get set }
  • provides name of the group

    Declaration

    Swift

    @objc
    public var name: String? { get set }
  • provides the icon of the group

    Declaration

    Swift

    @objc
    public var icon: String? { get set }
  • provides the groupDescription of the group

    Declaration

    Swift

    @objc
    public var groupDescription: String? { get set }
  • provides the creater/owner of the group

    Declaration

    Swift

    @objc
    public var owner: String? { get set }
  • provides the groupType of the group i.e Public, Private or Protected

    Declaration

    Swift

    @objc
    public var groupType: CometChat.groupType { get set }
  • provides the password of the group

    Declaration

    Swift

    @objc
    public var password: String? { get set }
  • provides the metadata of the group

    Declaration

    Swift

    @objc
    public var metadata: [String : Any]? { get set }
  • provides the created timestamp of the group

    Declaration

    Swift

    @objc
    public var createdAt: Int { get set }
  • provides the updatedAt timestamo of the group

    Declaration

    Swift

    @objc
    public var updatedAt: Int { get set }
  • provides the joinedAt timestamp of the group

    Declaration

    Swift

    @objc
    public var joinedAt: Int { get set }
  • provides the scope of the group

    Declaration

    Swift

    @objc
    public var scope: CometChat.GroupMemberScopeType { get set }
  • provides the hasJoined value for the group. True if user has joined the group and false if he is not the member of the group

    Declaration

    Swift

    @objc
    public var hasJoined: Bool { get set }
  • Initialiser for group object

    Declaration

    Swift

    @objc
    public init(guid: String, name: String, groupType: CometChat.groupType, password: String?)
  • Initialiser for the group object with additional parameters

    Declaration

    Swift

    @objc
    public init(guid: String, name: String, groupType: CometChat.groupType, password: String?, icon: String, description: String)
  • provides a string representation of the group object.

    Declaration

    Swift

    @objc
    public func stringValue() -> String