FeedMessageUpdateRequest
public struct FeedMessageUpdateRequest
A root object that stores information about a feed message update request.
-
The identity of the feed message being updated.
Declaration
Swift
public let feedMessageIdentity: FeedMessageIdentity
-
The content of the feed message.
Declaration
Swift
public let content: String
-
Whether the message contains NSFW material.
Declaration
Swift
public let isNSFW: Bool
-
Whether the message contains spoiler material.
Declaration
Swift
public let isSpoiler: Bool
-
Initialize a new instance of
FeedMessageUpdateRequest
to request updating a feed message.Declaration
Swift
public init(feedMessageIdentity: FeedMessageIdentity, content: String, isNSFW: Bool, isSpoiler: Bool)
Parameters
feedMessageIdentity
The identity of the feed message being updated.
content
The new content of the feed message.
isNSFW
Whether the message contains NSFW material.
isSpoiler
Whether the message contains spoiler material.