BasicGroup

public struct BasicGroup : Codable, Equatable, FunctionResult

Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users)

  • id

    Group identifier

    Declaration

    Swift

    public let id: Int32
  • Number of members in the group

    Declaration

    Swift

    public let memberCount: Int32
  • Status of the current user in the group

    Declaration

    Swift

    public let status: ChatMemberStatus
  • True, if the group is active

    Declaration

    Swift

    public let isActive: Bool
  • Identifier of the supergroup to which this group was upgraded; 0 if none

    Declaration

    Swift

    public let upgradedToSupergroupId: Int32
  • Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users)

    Declaration

    Swift

    public init(id: Int32, memberCount: Int32, status: ChatMemberStatus, isActive: Bool, upgradedToSupergroupId: Int32)

    Parameters

    id

    Group identifier

    memberCount

    Number of members in the group

    status

    Status of the current user in the group

    isActive

    True, if the group is active

    upgradedToSupergroupId

    Identifier of the supergroup to which this group was upgraded; 0 if none