Add version added directive to documentation for manage Tweets methods
authorHarmon <Harmon758@gmail.com>
Wed, 3 Nov 2021 21:53:41 +0000 (16:53 -0500)
committerHarmon <Harmon758@gmail.com>
Wed, 3 Nov 2021 21:53:41 +0000 (16:53 -0500)
tweepy/client.py

index e376590b01d50ea63c584d425dbb8edcb65ac2b7..52c974bafb0bbcaf8239b7c2c1e66fac7046b879 100644 (file)
@@ -395,6 +395,8 @@ class Client:
     def delete_tweet(self, id):
         """Allows an authenticated user ID to delete a Tweet.
 
+        .. versionadded:: 4.3
+
         Parameters
         ----------
         id : Union[int, str]
@@ -421,6 +423,8 @@ class Client:
     ):
         """Creates a Tweet on behalf of an authenticated user.
 
+        .. versionadded:: 4.3
+
         Parameters
         ----------
         direct_message_deep_link : Optional[str]