Class NewTweet

Configuration for the new tweet to be posted.

Hierarchy

  • NewTweet

Constructors

Properties

Constructors

Properties

media?: NewTweetMedia[]

The list of media to be uploaded.

Remarks

  • The media first needs to be uploaded.
  • After uploading, the returned id(s) can be used to reference the media here.
  • Maximum number of media items that can be posted is 4.
quote?: string

The id of the tweet to quote.

replyTo?: string

The id of the Tweet to which the given Tweet must be a reply.

text: string = ''

The text for the tweet to be created.

Remarks

Length of the tweet must be <= 280 characters.

Generated using TypeDoc