class RecordEmbed
extends PostEmbed
A post embed that links to a post, list, or feed generator record.
Constructor
constructor(record)
Parameters
record: EmbeddableRecord
The embedded record.
Properties
record: EmbeddableRecord
The embedded record.
Methods
isRecordWithMedia()
Whether this embed contains a record with media.
Returns
this is RecordWithMediaEmbed
fromView(recordView, bot)
Constructs a RecordEmbed from an embed record view.
Parameters
recordView: "@atcute/client/lexicons".AppBskyEmbedRecord.View
The view of the embed record.
bot: Bot
The active Bot instance.