UserProfile
public struct UserProfile : Codable
Represents a response to the GetUserProfileRequest method.
-
The user ID of the current authorized user.
Declaration
Swift
public let userID: String -
The display name of the current authorized user.
Declaration
Swift
public let displayName: String -
The profile image URL of the current authorized user.
nilif the user has not set a profile image.Declaration
Swift
public let pictureURL: URL? -
The large profile image URL of the current authorized user.
nilif the user has not set a profile image.Declaration
Swift
public var pictureURLLarge: URL? { get } -
The small profile image URL of the current authorized user.
nilif the user has not set a profile image.Declaration
Swift
public var pictureURLSmall: URL? { get } -
The status message of the current authorized user.
nilif the user has not set a status message.Declaration
Swift
public let statusMessage: String?
View on GitHub
UserProfile Structure Reference