Structures
The following structures are available globally.
-
Formatter for HTML content
See moreDeclaration
Swift
public struct TootHTML
-
Undocumented
See moreDeclaration
Swift
public struct PagedInfo : Decodable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct PagedResult<T> : Decodable where T : Decodable
-
Undocumented
See moreDeclaration
Swift
public struct Pagination
-
Undocumented
See moreDeclaration
Swift
public struct AccessToken : Codable
-
Represents a weekly bucket of instance activity.
See moreDeclaration
Swift
public struct Activity : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct AddAccountsToListParams : Codable
-
Undocumented
See moreDeclaration
Swift
public struct Alerts : Codable, Hashable, Sendable
-
Represents an announcement set by an administrator.
See moreDeclaration
Swift
public struct Announcement : Codable, Hashable, Identifiable
-
Represents an emoji reaction to an Announcement.
See moreDeclaration
Swift
public struct AnnouncementReaction : Codable, Hashable
-
Parameters to block a domain
See moreDeclaration
Swift
public struct BlockDomainParams : Codable
-
Undocumented
See moreDeclaration
Swift
public struct CallbackInfo : Hashable, Codable
-
Undocumented
See moreDeclaration
Swift
public struct Card : Codable, Hashable
-
Represents the tree around a given post. Used for reconstructing threads of posts.
See moreDeclaration
Swift
public struct Context : Codable, Hashable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct Conversation : Codable, Hashable, Identifiable
-
A request to create a new poll
See moreDeclaration
Swift
public struct CreatePoll : Codable, Hashable, Sendable
-
Represents a domain limited from federating.
See moreDeclaration
Swift
public struct DomainBlock : Codable, Hashable
-
Params to edit a given post
See moreDeclaration
Swift
public struct EditPostParams : Codable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct Emoji : Codable, Hashable, Sendable
-
Represents a subset of your follows who also follow some other user.
See moreDeclaration
Swift
public struct FamiliarFollowers : Codable, Hashable, Identifiable
-
Params to feature a hashtag
See moreDeclaration
Swift
public struct FeatureTagParams : Codable
-
Undocumented
See moreDeclaration
Swift
public struct FeaturedTag : Codable, Hashable, Identifiable
-
Undocumented
See moreDeclaration
Swift
public struct Filter : Codable, Hashable, Identifiable
-
Undocumented
See moreDeclaration
Swift
public struct FilterKeyword : Codable, Hashable, Identifiable
-
Undocumented
See moreDeclaration
Swift
public struct FilterStatus : Codable, Hashable, Identifiable
-
Undocumented
See moreDeclaration
Swift
public struct FollowAccountParams : Codable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct IdentityProof : Codable, Hashable
-
General information about an instance
See moreDeclaration
Swift
public struct Instance : Codable, Hashable
-
Represents a list of some users that the authenticated user follows.
See moreDeclaration
Swift
public struct List : Codable, Hashable, Identifiable
-
Params to change a list of users
See moreDeclaration
Swift
public struct ListParams : Codable
-
Represents the last read position within a user’s timelines.
See moreDeclaration
Swift
public struct Marker : Codable, Hashable
-
Represents a file or media attachment that can be added to a post.
See moreDeclaration
Swift
public struct MediaAttachment : Codable, Hashable, Identifiable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct AttachmentMeta : Codable, Hashable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct AttachmentMetaInfo : Codable, Hashable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct AttachmentMetaFocus : Codable, Hashable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct UploadedMediaAttachment : Identifiable, Sendable
-
Represents a mention of a user within the content of a post.
See moreDeclaration
Swift
public struct Mention : Codable, Hashable, Identifiable
-
Undocumented
See moreDeclaration
Swift
public struct MuteAccountParams : Codable, Sendable
-
Parameters to retrieve a list of oauth apps
See moreDeclaration
Swift
public struct ListOauthAppsParams : Codable
-
Undocumented
See moreDeclaration
Swift
public struct PleromaFollowByURIParams : Codable
-
Undocumented
See moreDeclaration
Swift
public struct PleromaOauthApp : Codable, Identifiable
-
Undocumented
Declaration
Swift
public struct PleromaOauthAppsResponse : Codable
-
Represents a poll attached to a post.
See moreDeclaration
Swift
public struct Poll : Codable, Hashable, Identifiable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct PostEdit : Codable, Hashable, Sendable
-
Parameters to create a new post
See moreDeclaration
Swift
public struct PostParams : Codable, Sendable
-
Represents a post’s source as plain text.
See moreDeclaration
Swift
public struct PostSource : Codable, Identifiable, Sendable
-
Represents a user’s preferences.
See moreDeclaration
Swift
public struct Preferences : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct ProfileDirectoryParams : Codable
-
Represents a subscription to the push streaming server.
See moreDeclaration
Swift
public struct PushSubscription : Codable, Sendable
-
Web Push API subscription request
See moreDeclaration
Swift
public struct PushSubscriptionParams : Codable, Sendable
-
Change Web Push API subscription configuration request
See moreDeclaration
Swift
public struct PushSubscriptionUpdateParams : Codable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct RegisterAccountErrors : Codable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct RegisterAccountParams : Codable, Sendable
-
Represents the relationship between accounts, such as following / blocking / muting / etc.
See moreDeclaration
Swift
public struct Relationship : Codable, Hashable, Identifiable, Sendable
extension Relationship: Equatable
-
Undocumented
See moreDeclaration
Swift
public struct RemoveAccountsFromListParams : Codable
-
Reports filed against users and/or posts, to be taken action on by moderators.
See moreDeclaration
Swift
public struct Report : Codable, Hashable, Identifiable
-
Represents the results of a search.
See moreDeclaration
Swift
public struct Results : Codable
-
Represents a post that will be published at a future scheduled date.
See moreDeclaration
Swift
public struct ScheduledPost : Codable, Equatable, Hashable, Identifiable, Sendable
-
Parameters to post a new scheduled post. Returned as part of a ScheduledPost. In requests, this is converted to a ScheduledPostRequest for encoding.
See moreDeclaration
Swift
public struct ScheduledPostParams : Codable, Equatable, Hashable, Sendable
-
Represents the results of a search.
See moreDeclaration
Swift
public struct Search : Codable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct SearchAccountsParams : Sendable
-
The search parameters.
See moreDeclaration
Swift
public struct SearchParams : Sendable
-
Undocumented
See moreDeclaration
Swift
public struct SetNoteForAccountParams : Codable, Sendable
-
An account suggested by the server.
See moreDeclaration
Swift
public struct Suggestion : Codable, Hashable, Sendable
-
Represents a hashtag used within the content of a post.
See moreDeclaration
Swift
public struct Tag : Codable, Hashable, Sendable
-
Specifies the parameters for a federated timeline request
See moreDeclaration
Swift
public struct FederatedTimelineQuery : Codable, Sendable
extension FederatedTimelineQuery: TimelineQuery
-
Specifies the parameters for a hashtag timeline request
See moreDeclaration
Swift
public struct HashtagTimelineQuery : Codable, Sendable
extension HashtagTimelineQuery: TimelineQuery
-
Specifies the parameters for a local timeline request
See moreDeclaration
Swift
public struct LocalTimelineQuery : Hashable, Codable, Sendable
extension LocalTimelineQuery: TimelineQuery
-
Specifies the parameters for a user posts timeline request
See moreDeclaration
-
Represents an application that interfaces with the REST API to access accounts or posts.
See moreDeclaration
Swift
public struct TootApplication : Codable, Hashable, Identifiable
-
Undocumented
See moreDeclaration
Swift
public struct TootContent
-
Represents a feature that is not supported by all flavours.
See moreDeclaration
Swift
public struct TootFeature
-
Represents a profile field as a name-value pair with optional verification.
See moreDeclaration
Swift
public struct TootField : Codable, Hashable, Sendable
-
Represents a notification of an event relevant to the user.
See moreDeclaration
Swift
public struct TootNotification : Codable, Hashable, Identifiable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct TootNotificationParams : Codable, Sendable
-
Represents display or publishing preferences of user’s own account. Returned as an additional entity when verifying and updated credentials, as an attribute of Account.
See moreDeclaration
Swift
public struct TootSource : Codable, Hashable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct TrendingLink : Codable, Hashable
-
Undocumented
See moreDeclaration
Swift
public struct UpdateCredentialsParams : Codable
-
Undocumented
See moreDeclaration
Swift
public struct UpdateMediaAttachmentParams : Codable, Sendable
-
Undocumented
See moreDeclaration
Swift
public struct UploadMediaAttachmentParams : Codable, Sendable