Skip to content

Commit 373e24a

Browse files
authored
add community id to tweet payload and response (#560)
1 parent 57949c7 commit 373e24a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types/v2/tweet.definition.v2.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ export interface SendTweetV2Params {
202202
};
203203
reply_settings?: TTweetReplySettingsV2 | string;
204204
text?: string;
205+
community_id?: string;
205206
}
206207

207208
//// FINALLY, TweetV2
@@ -228,6 +229,7 @@ export interface TweetV2 {
228229
reply_settings?: 'everyone' | 'mentionedUsers' | 'following';
229230
source?: string;
230231
note_tweet?: NoteTweetV2;
232+
community_id?: string;
231233
}
232234

233235
export interface ApiV2Includes {

0 commit comments

Comments
 (0)