Skip to content

Commit

Permalink
Merge pull request #25 from lagunehq/feature-card-in-steram
Browse files Browse the repository at this point in the history
Add `card` key to Status entity
  • Loading branch information
neet authored Oct 29, 2018
2 parents 9933e51 + 5d4ee10 commit 2a1db84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/entities/Status.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Account } from './Account';
import { Application } from './Application';
import { Attachment } from './Attachment';
import { Card } from './Card';
import { Emoji } from './Emoji';
import { Mention } from './Mention';
import { Tag } from './Tag';
Expand All @@ -27,6 +28,9 @@ export interface Status {
/** `null` or the reblogged Status */
reblog?: Status | null;

/** Embeded card */
card?: Card;

/** Body of the status; this will contain HTML (remote HTML already sanitized) */
content: string;

Expand Down

0 comments on commit 2a1db84

Please # to comment.