InboxVideoContent

class InboxVideoContent(val videoUrl: String, val posterUrl: String?)

Video payload of a video inbox card, mirroring the iOS PushwooshInboxVideoContent contract.

Like the carousel slides, the descriptor cannot live in the standard message fields, so it arrives in actionParams["video"] (at the root, inside u as a dict, or inside u as a JSON-encoded string):

{ "video": { "url": "https://…/clip.mp4", "poster": "https://…/p.jpg" } }

The card shows the poster with a play badge; tapping it opens a full-screen player.

Constructors

Link copied to clipboard
constructor(videoUrl: String, posterUrl: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

optional preview image shown in the card

Link copied to clipboard

remote video played full-screen on tap