Account
public class Account : Codable
Undocumented
-
The ID of the account.
Declaration
Swift
public let id: String -
The username of the account.
Declaration
Swift
public let username: String -
Equals username for local users, includes @domain for remote ones.
Declaration
Swift
public let acct: String -
The account’s display name.
Declaration
Swift
public let displayName: String -
Biography of user.
Declaration
Swift
public let note: String -
URL of the user’s profile page (can be remote).
Declaration
Swift
public let url: String -
URL to the avatar image.
Declaration
Swift
public let avatar: String -
URL to the avatar static image
Declaration
Swift
public let avatarStatic: String -
URL to the header image.
Declaration
Swift
public let header: String -
URL to the header static image
Declaration
Swift
public let headerStatic: String -
Boolean for when the account cannot be followed without waiting for approval first.
Declaration
Swift
public let locked: Bool -
The time the account was created.
Declaration
Swift
public let createdAt: Date -
The number of followers for the account.
Declaration
Swift
public let followersCount: Int -
The number of accounts the given account is following.
Declaration
Swift
public let followingCount: Int -
The number of statuses the account has made.
Declaration
Swift
public let statusesCount: Int
View on GitHub
Install in Dash
Account Class Reference