MomentsImageComponent

@objc(MomentsImageComponent)
public final class MomentsImageComponent : MomentsComponent

This class represents the Moments Image component.

  • URL of the Image Component

    Declaration

    Swift

    @objc
    public let imageUrl: URL
  • MomentsImageComponent initialization

    Declaration

    Swift

    @objc
    public init(id: String,
                imageUrl: URL)

    Parameters

    id

    Id of the interactive component

    imageUrl

    URL of the image component