MomentsTextComponent

@objc(MomentsTextComponent)
public final class MomentsTextComponent : MomentsComponent

This class represents the Moments Text component.

  • Text of the text interactive

    Declaration

    Swift

    @objc
    public let text: String
  • MomentsTextComponent initialization

    Declaration

    Swift

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

    Parameters

    id

    Id of the interactive component

    text

    Text of the text interactive