Structures

The following structures are available globally.

Error Activity

  • An error type of enriching activity properties.

    See more

    Declaration

    Swift

    public struct EnrichingActivityError : LocalizedError, Decodable, CustomStringConvertible
  • A base URL for the Client.

    See more

    Declaration

    Swift

    public struct BaseURL
    extension BaseURL: CustomStringConvertible
  • A wrapper for missing reference object.

    See more

    Declaration

    Swift

    public struct MissingReference<T> : Codable where T : Missable
  • A general response object.

    See more

    Declaration

    Swift

    public struct Response<T> : Decodable where T : Decodable

Reactions Option

  • A feed reaction options to include reaction for activities.

    • Available options:
      • includeOwn: include reactions added by current user to all activities.
      • includeOwnChildren: include reactions added by current user to all reactions.
      • includeRecent: include recent reactions to activities.
      • includeCounts: include reaction counts to activities.
    See more

    Declaration

    Swift

    public struct FeedReactionsOptions : OptionSet
  • A feed identifier based on feedSlug and userId.

    See more

    Declaration

    Swift

    public struct FeedId : CustomStringConvertible, Codable
    extension FeedId: Equatable
  • A feed Follower.

    See more

    Declaration

    Swift

    public struct Follower : Decodable
  • A file type.

    See more

    Declaration

    Swift

    public struct File
  • An image process option type.

    See more

    Declaration

    Swift

    public struct ImageProcess : Codable

Client Open Graph

  • An Open Graph response.

    See more

    Declaration

    Swift

    public struct OGResponse : Codable
  • An Open Graph image response.

    See more

    Declaration

    Swift

    public struct OGImageResponse : Codable
  • An Open Graph video response.

    See more

    Declaration

    Swift

    public struct OGVideoResponse : Codable
  • An Open Graph audio response.

    See more

    Declaration

    Swift

    public struct OGAudioResponse : Codable

Empty reaction extra data