VerticalFeedCommentComponent
@objc(VerticalFeedCommentComponent)
public final class VerticalFeedCommentComponent : VerticalFeedItemComponent
This class represents the Comment component.
-
Comment text that the user sent
Declaration
Swift
@objc public let text: String
-
VerticalFeedCommentComponent initialization
Declaration
Swift
@objc public init(id: String, text: String, customPayload: String?)
Parameters
id
Id of the interactive component
text
Comment text that the user sent
customPayload
Custom payload for Comment component if exists