interface PostEmbedFromViewOptions

Options for constructing a PostEmbed from an embed view.

Properties

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

The embed view.

record?: "@atcute/client/lexicons".AppBskyEmbedImages.Main & { $type: "app.bsky.embed.images"; } | "@atcute/client/lexicons".AppBskyEmbedRecordWithMedia.Main & { $type: "app.bsky.embed.recordWithMedia"; } | "@atcute/client/lexicons".AppBskyEmbedVideo.Main & { $type: "app.bsky.embed.video"; } | "@atcute/client/lexicons".AppBskyEmbedExternal.Main & { $type: "app.bsky.embed.external"; } | "@atcute/client/lexicons".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).