2023-02-27 19:39:43 -08:00
|
|
|
import type { IDataObject } from 'n8n-workflow';
|
|
|
|
|
2020-06-01 17:42:38 -07:00
|
|
|
export interface ITweet {
|
2020-09-19 01:05:17 -07:00
|
|
|
auto_populate_reply_metadata?: boolean;
|
2020-06-01 17:42:38 -07:00
|
|
|
display_coordinates?: boolean;
|
|
|
|
lat?: number;
|
|
|
|
long?: number;
|
|
|
|
media_ids?: string;
|
|
|
|
possibly_sensitive?: boolean;
|
|
|
|
status: string;
|
2020-09-17 14:02:23 -07:00
|
|
|
in_reply_to_status_id?: string;
|
2020-06-01 17:42:38 -07:00
|
|
|
}
|
2023-02-27 19:39:43 -08:00
|
|
|
|
|
|
|
export interface ITweetCreate {
|
|
|
|
type: 'message_create';
|
|
|
|
message_create: {
|
|
|
|
target: {
|
|
|
|
recipient_id: string;
|
|
|
|
};
|
|
|
|
message_data: {
|
|
|
|
text: string;
|
|
|
|
attachment?: IDataObject;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|