interface TwitterV1NodeParameters {
additionalFields?:
| { attachment?: string }
| {
attachments?: string;
displayCoordinates?: boolean;
inReplyToStatusId?: string;
locationFieldsUi?: {
locationFieldsValues: {
latitude: string;
longitude: string;
};
};
possiblySensitive?: boolean;
}
| {
includeEntities?: boolean;
lang?: string;
locationFieldsUi?: {
locationFieldsValues: {
distance: number;
latitude: string;
longitude: string;
radius: "km"
| "mi";
};
};
resultType?: "mixed"
| "recent"
| "popular";
tweetMode?: "compat" | "extended";
until?: string;
}
| { includeEntities?: boolean }
| { trimUser?: boolean };
limit?: number;
operation?:
| "create"
| "delete"
| "search"
| "like"
| "retweet";
resource?: "directMessage"
| "tweet";
returnAll?: boolean;
searchText?: string;
text?: string;
tweetId?: string;
userId?: string;
}Properties§
§§§§§§§§
readonly additional Fields?:
| { attachment?: string }
| {
attachments?: string;
displayCoordinates?: boolean;
inReplyToStatusId?: string;
locationFieldsUi?: {
locationFieldsValues: {
latitude: string;
longitude: string;
};
};
possiblySensitive?: boolean;
}
| {
includeEntities?: boolean;
lang?: string;
locationFieldsUi?: {
locationFieldsValues: {
distance: number;
latitude: string;
longitude: string;
radius: "km"
| "mi";
};
};
resultType?: "mixed"
| "recent"
| "popular";
tweetMode?: "compat" | "extended";
until?: string;
}
| { includeEntities?: boolean }
| { trimUser?: boolean }§
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1}
readonly operation?: "create" | "delete" | "search" | "like" | "retweet"Default: "create"
readonly resource?: "directMessage" | "tweet"Default: "tweet"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly search Text?: stringA UTF-8, URL-encoded search query of 500 characters maximum, including operators. Queries may additionally be limited by complexity. Check the searching examples here.
readonly text?: stringThe text of your Direct Message. URL encode as necessary. Max length of 10,000 characters.
readonly tweet Id?: stringThe ID of the tweet to delete
readonly user Id?: stringThe ID of the user who should receive the direct message
Default: {}