Added reply_to_private()
This commit is contained in:
parent
0ab9f122da
commit
dfb09a7255
@ -100,4 +100,9 @@ class API:
|
||||
def reply_with_url(self, tweet_id, url, username):
|
||||
|
||||
params = {"reply": {"in_reply_to_tweet_id": str(tweet_id)}, "text": f"Hi {username}! Download a list of Mastodon users that you are following on Twitter: {url} Take that csv-file and import in Mastodon (Settings > Import)."}
|
||||
self.post_tweet(params=params)
|
||||
self.post_tweet(params=params)
|
||||
|
||||
def reply_to_private(self, tweet_id, username):
|
||||
""" Reply to private profiles. """
|
||||
params = {"reply": {"in_reply_to_tweet_id": str(tweet_id)}, "text": f"Hi {username}! Because you have a private I can't see what profiles you are following."}
|
||||
self.post_tweet(params=params)
|
Loading…
x
Reference in New Issue
Block a user