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
userId
User identifier of the administrator
customTitle
Custom title of the administrator
isOwner
True, if the user is the owner of the chat