Class PostArgs

Options specifying the data that is to be posted.

Implements

Constructors

Properties

conversationId?: string

The id of the conversation to delete.

Required only when deleting a conversation using ResourceType.DM_DELETE_CONVERSATION

id?: string

The id of the target resource.

profileOptions?: ProfileUpdateOptions

Profile update options.

Required only when updating user profile using ResourceType.USER_PROFILE_UPDATE

tweet?: NewTweet

The tweet that is to be posted.

Required only when posting a tweet using ResourceType.TWEET_POST

upload?: UploadArgs

The media file to be uploaded.

Required only when uploading a media using the following resources:

userId?: string

The id of the target user.

Required only for the following resources: