Interface IPostArgs

Options specifying the data that is to be posted.

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

Implemented by

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.

tweet?: INewTweet

The tweet that is to be posted.

Required only when posting a tweet using ResourceType.TWEET_POST

upload?: IUploadArgs

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: