From 3c77e5ddb41d9afd009c4cea402eb54508acee19 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 01:07:43 +0000 Subject: [PATCH] Update openapi.json --- docs/openapi.v2.json | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/openapi.v2.json b/docs/openapi.v2.json index 79d2ca4..68abb9d 100644 --- a/docs/openapi.v2.json +++ b/docs/openapi.v2.json @@ -2,7 +2,7 @@ "openapi" : "3.0.0", "info" : { "description" : "Twitter API v2 available endpoints", - "version" : "2.79", + "version" : "2.80", "title" : "Twitter API v2", "termsOfService" : "https://developer.twitter.com/en/developer-terms/agreement-and-policy.html", "contact" : { @@ -12493,6 +12493,20 @@ } } }, + "receives_your_dm" : { + "type" : "boolean", + "description" : "Indicates if you can send a DM to this User" + }, + "subscription_type" : { + "type" : "string", + "description" : "The Twitter Blue subscription type of the user, eg: Basic, Premium, PremiumPlus or None.", + "enum" : [ + "Basic", + "Premium", + "PremiumPlus", + "None" + ] + }, "url" : { "type" : "string", "description" : "The URL specified in the User's profile." @@ -12506,7 +12520,13 @@ }, "verified_type" : { "type" : "string", - "description" : "The Twitter Blue verified type of the user, eg: blue, government, business or none." + "description" : "The Twitter Blue verified type of the user, eg: blue, government, business or none.", + "enum" : [ + "blue", + "government", + "business", + "none" + ] }, "withheld" : { "$ref" : "#/components/schemas/UserWithheld" @@ -13830,6 +13850,7 @@ "profile_image_url", "protected", "public_metrics", + "receives_your_dm", "subscription_type", "url", "username", @@ -13850,6 +13871,7 @@ "profile_image_url", "protected", "public_metrics", + "receives_your_dm", "subscription_type", "url", "username",