mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
add ConversationControl
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
d74a5fdf5b
commit
2d3d1475ab
5 changed files with 129 additions and 9 deletions
|
|
@ -698,7 +698,7 @@
|
|||
"media_entities": [
|
||||
{
|
||||
"media_id": "1111111111111111111",
|
||||
"tagged_users": []
|
||||
"tagged_users": ["44196397"]
|
||||
}
|
||||
],
|
||||
"possibly_sensitive": false
|
||||
|
|
@ -709,7 +709,13 @@
|
|||
"exclude_reply_user_ids": []
|
||||
},
|
||||
"dark_request": false,
|
||||
"disallowed_reply_options?": {}
|
||||
"disallowed_reply_options?": {},
|
||||
"conversation_control?": {
|
||||
"conversation_control": {
|
||||
"mode": "Community"
|
||||
}
|
||||
},
|
||||
"attachment_url?": "https://x.com/elonmusk/status/1349129669258448897"
|
||||
},
|
||||
"features": {
|
||||
"communities_web_enable_tweet_community_results_fetch": true,
|
||||
|
|
@ -1046,5 +1052,21 @@
|
|||
"features": {
|
||||
"responsive_web_graphql_timeline_navigation_enabled": true
|
||||
}
|
||||
},
|
||||
"CreateDraftTweet": {
|
||||
"queryId": "cH9HZWz_EW9gnswvA4ZRiQ",
|
||||
"variables": {
|
||||
"post_tweet_request": {
|
||||
"attachment_url": "https://x.com/elonmusk/status/1349129669258448897",
|
||||
"auto_populate_reply_metadata": false,
|
||||
"status": "test",
|
||||
"exclude_reply_user_ids": [],
|
||||
"media_ids": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"FetchDraftTweets": {
|
||||
"queryId": "fMp3izG_gCZKVk3Aa1vVKw",
|
||||
"ascending": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -932,7 +932,7 @@ components:
|
|||
type: string
|
||||
pattern: "^[0-9]+$"
|
||||
conversation_control:
|
||||
additionalProperties: true # todo
|
||||
$ref: "#/components/schemas/ConversationControl"
|
||||
limited_actions:
|
||||
type: string
|
||||
enum:
|
||||
|
|
@ -1332,6 +1332,14 @@ components:
|
|||
type: string
|
||||
enum: [crop, fit]
|
||||
|
||||
ConversationControl:
|
||||
required:
|
||||
- "mode"
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
enum: [Community, Verified, ByInvitation]
|
||||
|
||||
Timestamp:
|
||||
required:
|
||||
- "indices"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue