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)
-
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
idGroup identifier
memberCountNumber of members in the group
statusStatus of the current user in the group
isActiveTrue, if the group is active
upgradedToSupergroupIdIdentifier of the supergroup to which this group was upgraded; 0 if none
View on GitHub
Install in Dash
BasicGroup Structure Reference