Presence
public struct Presence
Structure for presences
-
The current game this user is playing/nil if not playing a game
Declaration
Swift
public internal(set) var game: String?
-
The current status for this user
Declaration
Swift
public internal(set) var status: Status
-
Creates a Presence structure
Declaration
Swift
public init(status: Status = .online, playing game: String? = nil)