Interface IPostArgs

Options specifying the data that is to be posted.

interface IPostArgs {
    id?: string;
    tweet?: INewTweet;
    upload?: IUploadArgs;
}

Implemented by

Properties

Properties

id?: string

The id of the target resource.

tweet?: INewTweet

The tweet that is to be posted.

Required only when posting a tweet using EResourceType.TWEET_POST

upload?: IUploadArgs

The media file to be uploaded.

Required only when uploading a media using the following resources: