FeedMessageRequest

public struct FeedMessageRequest

A root object that stores information about a feed message request.

Properties

Initializers

  • Initialize a new instance of FeedMessageRequest to request posting a new feed message.

    Declaration

    Swift

    public init(content: String, parentIdentity: FeedMessageIdentity?, isReply: Bool?, isReShare: Bool?, isNSFW: Bool, isSpoiler: Bool)

    Parameters

    content

    The new content of the feed message.

    parentIdentity

    The identity of the parent message this message is related to.

    isReply

    Whether the message is a reply to another message. Required if parentIdentity is specified.

    isReShare

    Whether the message is a re-share of another message. Required if parentIdentity is specified.

    isNSFW

    Whether the message contains NSFW material.

    isSpoiler

    Whether the message contains spoiler material.