Reactions
public struct Reactions<T, U> : Decodable where T : Decodable, T : Encodable, U : UserProtocol
A reactions type.
-
A list of reactions.
Declaration
Swift
public let reactions: [Reaction<T, U>] -
A pagination option for the next page.
Declaration
Swift
public private(set) var next: Pagination? { get } -
Declaration
Swift
public init(from decoder: Decoder) throws -
Get an activity for reactions that was requested by
activityIdand thewithActivityDataproperty.Declaration
Swift
public func activity<A>(typeOf type: A.Type) throws -> A where A : ActivityProtocolParameters
typethe type of
ActivityProtocolof reactions.Return Value
the activity of reactions.
View on GitHub
Reactions Structure Reference