interface PostEmbedFromViewOptions

Options for constructing a PostEmbed from an embed view.

Properties

view: AppBskyEmbedExternal.View & { $type: "app.bsky.embed.external#view"; } | AppBskyEmbedImages.View & { $type: "app.bsky.embed.images#view"; } | AppBskyEmbedRecord.View & { $type: "app.bsky.embed.record#view"; } | AppBskyEmbedRecordWithMedia.View & { $type: "app.bsky.embed.recordWithMedia#view"; } | AppBskyEmbedVideo.View & { $type: "app.bsky.embed.video#view"; }

The embed view.

record?: AppBskyEmbedImages.Main & { $type: "app.bsky.embed.images"; } | AppBskyEmbedRecordWithMedia.Main & { $type: "app.bsky.embed.recordWithMedia"; } | AppBskyEmbedVideo.Main & { $type: "app.bsky.embed.video"; } | AppBskyEmbedExternal.Main & { $type: "app.bsky.embed.external"; } | AppBskyEmbedRecord.Main & { $type: "app.bsky.embed.record"; }

The embed record.

bot?: Bot

The active Bot instance (needed to create Post instance for RecordEmbed and RecordWithMediaEmbed).