mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
⚡ Auto mention users in reply tweets
This commit is contained in:
parent
a27e764de0
commit
2faa862ada
|
@ -1,4 +1,5 @@
|
||||||
export interface ITweet {
|
export interface ITweet {
|
||||||
|
auto_populate_reply_metadata?: boolean;
|
||||||
display_coordinates?: boolean;
|
display_coordinates?: boolean;
|
||||||
lat?: number;
|
lat?: number;
|
||||||
long?: number;
|
long?: number;
|
||||||
|
|
|
@ -112,6 +112,7 @@ export class Twitter implements INodeType {
|
||||||
|
|
||||||
if (additionalFields.inReplyToStatusId) {
|
if (additionalFields.inReplyToStatusId) {
|
||||||
body.in_reply_to_status_id = additionalFields.inReplyToStatusId as string;
|
body.in_reply_to_status_id = additionalFields.inReplyToStatusId as string;
|
||||||
|
body.auto_populate_reply_metadata = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (additionalFields.attachments) {
|
if (additionalFields.attachments) {
|
||||||
|
|
Loading…
Reference in a new issue