ChatAdministrator
public struct ChatAdministrator : Codable, Equatable, FunctionResult
Contains information about a chat administrator
-
User identifier of the administrator
Declaration
Swift
public let userId: Int32 -
Custom title of the administrator
Declaration
Swift
public let customTitle: String -
True, if the user is the owner of the chat
Declaration
Swift
public let isOwner: Bool -
Contains information about a chat administrator
Declaration
Swift
public init(userId: Int32, customTitle: String, isOwner: Bool)Parameters
userIdUser identifier of the administrator
customTitleCustom title of the administrator
isOwnerTrue, if the user is the owner of the chat
View on GitHub
Install in Dash
ChatAdministrator Structure Reference