INNER CODE UNIT · Python

unschedule_tweet

trevorhobenshield/twitter-api-client · twitter/account.py:216

    def unschedule_tweet(self, tweet_id: int) -> dict:
        variables = {'scheduled_tweet_id': tweet_id}
        return self.gql('POST', Operation.DeleteScheduledTweet, variables)

    def untweet(self, tweet_id: int) -> dict:
        variables = {'tweet_id': tweet_id, 'dark_request': False}
        return self.gql('POST', Operation.DeleteTweet, variables)

    def reply(self, text: str, tweet_id: int) -> dict:
        variables = {
            'tweet_text': text,
            'reply': {
                'in_reply_to_tweet_id': tweet_id,
                'exclude_reply_user_ids': [],
            },
            'batch_compose': 'BatchSubsequent',
            'dark_request': False,
            'media': {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…