INNER CODE UNIT · Python

reply

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

    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': {
                'media_entities': [],
                'possibly_sensitive': False,
            },
            'semantic_annotation_ids': [],
        }
        return self.gql('POST', Operation.CreateTweet, variables)

    def quote(self, text: str, tweet_id: int) -> dict:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…