Skip to content

Commit

Permalink
fix: limit media_ids count from 1 to 4 (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
rare0b authored Jul 12, 2024
1 parent 7048746 commit 5cdc4ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/types/v2/tweet.definition.v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ export interface SendTweetV2Params {
place_id: string;
};
media?: {
media_ids?: string[];
media_ids?:
| [string]
| [string, string]
| [string, string, string]
| [string, string, string, string];
tagged_user_ids?: string[];
};
poll?: {
Expand Down

0 comments on commit 5cdc4ce

Please sign in to comment.