From e5c7392eb2628a8eeba1957285919a1d8c9c7758 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 27 May 2021 07:03:14 -0500 Subject: [PATCH] Improve API.send_direct_message formatting --- tweepy/api.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index 0c3cb95..2739603 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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) -- 2.25.1