Improve API.send_direct_message formatting
authorHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 12:03:14 +0000 (07:03 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 12:03:14 +0000 (07:03 -0500)
tweepy/api.py

index 0c3cb9583df7580cb5897f06dbbaf87c6f76b22a..27396036741640ac4f3a8c03471860db9c6bf6e0 100644 (file)
@@ -3230,9 +3230,10 @@ class API:
         )
 
     @payload('direct_message')
-    def send_direct_message(self, recipient_id, text, *, quick_reply_options=None,
-                            attachment_type=None, attachment_media_id=None,
-                            ctas=None, **kwargs):
+    def send_direct_message(
+        self, recipient_id, text, *, quick_reply_options=None,
+        attachment_type=None, attachment_media_id=None, ctas=None, **kwargs
+    ):
         """send_direct_message(recipient_id, text, *, quick_reply_options, \
                                attachment_type, attachment_media_id, ctas)