1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00

add ConversationControl

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-09-30 11:09:35 +09:00
parent d74a5fdf5b
commit 2d3d1475ab
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
5 changed files with 129 additions and 9 deletions

View file

@ -522,6 +522,16 @@ components:
- $ref: '#/components/schemas/TimelineTimelineItem'
- $ref: '#/components/schemas/TimelineTimelineModule'
- $ref: '#/components/schemas/TimelineTimelineCursor'
ConversationControl:
properties:
mode:
enum:
- Community
- Verified
- ByInvitation
type: string
required:
- mode
CoverCta:
properties:
Text:
@ -2310,7 +2320,7 @@ components:
bookmarked:
type: boolean
conversation_control:
additionalProperties: true
$ref: '#/components/schemas/ConversationControl'
conversation_id_str:
pattern: ^[0-9]+$
type: string
@ -4357,6 +4367,24 @@ paths:
type: string
variables:
properties:
attachment_url:
default: https://x.com/elonmusk/status/1349129669258448897
example: https://x.com/elonmusk/status/1349129669258448897
type: string
conversation_control:
properties:
conversation_control:
properties:
mode:
default: Community
example: Community
type: string
required:
- mode
type: object
required:
- conversation_control
type: object
dark_request:
default: false
example: false
@ -4375,7 +4403,9 @@ paths:
type: string
tagged_users:
items:
type: object
default: '44196397'
example: '44196397'
type: string
type: array
required:
- media_id