StoryCommentComponent

@objc(StoryCommentComponent)
public final class StoryCommentComponent : StoryComponent

This class represents the Comment component.

  • Comment text that the user sent

    Declaration

    Swift

    @objc
    public let text: String
  • StoryCommentComponent initialization

    Declaration

    Swift

    @objc
    public init(id: String,
                text: String)

    Parameters

    id

    Id of the interactive component

    text

    Comment text that the user sent