Interface ITweet

The details of a single tweet.

interface ITweet {
    bookmarkCount: number;
    conversationId: string;
    createdAt: string;
    entities: ITweetEntities;
    fullText: string;
    id: string;
    lang: string;
    likeCount: number;
    media?: ITweetMedia[];
    quoteCount: number;
    quoted?: ITweet;
    replyCount: number;
    replyTo?: string;
    retweetCount: number;
    retweetedTweet?: ITweet;
    tweetBy: IUser;
    url: string;
    viewCount: number;
}

Implemented by

Properties

bookmarkCount: number

The number of bookmarks of a tweet.

conversationId: string

The ID of tweet which started the current conversation.

createdAt: string

The creation date of the tweet.

entities: ITweetEntities

Additional tweet entities like urls, mentions, etc.

fullText: string

The full text content of the tweet.

id: string

The rest id of the tweet.

lang: string

The language in which the tweet is written.

likeCount: number

The number of likes of the tweet.

media?: ITweetMedia[]

The urls of the media contents of the tweet (if any).

quoteCount: number

The number of quotes of the tweet.

quoted?: ITweet

The tweet which is quoted in the tweet.

replyCount: number

The number of replies to the tweet.

replyTo?: string

The rest id of the tweet to which the tweet is a reply.

retweetCount: number

The number of retweets of the tweet.

retweetedTweet?: ITweet

The tweet which is retweeted in this tweet (if any).

tweetBy: IUser

The details of the user who made the tweet.

url: string

The URL to the tweet.

viewCount: number

The number of views of a tweet.