MCPcopy Create free account
hub / github.com/FxEmbed/FxEmbed / ArticleRenderOptions

Interface ArticleRenderOptions

src/helpers/article.ts:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4const DISCORD_ARTICLE_MAX_LENGTH = 10000;
5
6interface ArticleRenderOptions {
7 maxLength?: number; // undefined = no limit (Telegram)
8 fullRenderer?: boolean; // true for Telegram, false for Discord
9 mediaEntities: TwitterApiMedia[];
10 apiHost?: string; // Required for Telegram to wrap foreign links
11 photoUrlTransform?: (url: string) => string;
12}
13
14interface ArticleRenderResult {
15 html: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected