Mention

public struct Mention : Codable, Hashable, Identifiable

Represents a mention of a user within the content of a post.

  • Undocumented

    Declaration

    Swift

    public init(id: String, username: String, url: String, acct: String)
  • id

    The account id of the mentioned user.

    Declaration

    Swift

    public var id: String
  • The username of the mentioned user.

    Declaration

    Swift

    public var username: String
  • url

    The location of the mentioned user’s profile.

    Declaration

    Swift

    public var url: String
  • The webfinger acct: URI of the mentioned user. Equivalent to username for local users, or username@domain for remote users.

    Declaration

    Swift

    public var acct: String