From: Harmon Date: Thu, 27 May 2021 12:03:14 +0000 (-0500) Subject: Improve API.send_direct_message formatting X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e5c7392eb2628a8eeba1957285919a1d8c9c7758;p=tweepy.git Improve API.send_direct_message formatting --- 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)