FeedMessage
public class FeedMessage : IdentityResource, Hashable
A root object that stores information about a feed message resource.
-
Declaration
Swift
public let id: String
-
Declaration
Swift
public let type: String
-
Declaration
Swift
public let href: String
-
The attributes belonging to the feed message.
Declaration
Swift
public var attributes: FeedMessage.Attributes
-
The relationships belonging to the feed message.
Declaration
Swift
public let relationships: FeedMessage.Relationships
-
Declaration
Swift
public static func == (lhs: FeedMessage, rhs: FeedMessage) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
The maximum character limit for a feed message.
The character limit is determined by the user’s account status. The character limit is as follows:
- 280 characters for normal users.
- 500 characters for pro users.
- 1000 characters for subscribed users.
Declaration
Swift
public static var maxCharacterLimit: Int { get }
-
A root object that stores information about a single feed message, such as the message’s content, and whether it’s a spoiler or NSFW.
See moreDeclaration
Swift
public struct Attributes : Codable
-
A root object that stores information about feed message relationships, such as the user it belongs to.
See moreDeclaration
Swift
public struct Relationships : Codable