Comment

public struct Comment : OperationType, Equatable

Comment operation, creates comments and posts.

  • The parent content author, left blank for top level posts.

    Declaration

    Swift

    public var parentAuthor: String
  • The parent content permalink, left blank for top level posts.

    Declaration

    Swift

    public var parentPermlink: String
  • The account name of the post creator.

    Declaration

    Swift

    public var author: String
  • The content permalink.

    Declaration

    Swift

    public var permlink: String
  • The content title.

    Declaration

    Swift

    public var title: String
  • The content body.

    Declaration

    Swift

    public var body: String
  • Additional content metadata.

    Declaration

    Swift

    public var jsonMetadata: String
  • Declaration

    Swift

    public init(
        title: String,
        body: String,
        author: String,
        permlink: String,
        parentAuthor: String = "",
        parentPermlink: String = "",
        jsonMetadata: String = ""
    )