I am trying to make a bot which makes a post and then self replies. The only issue I am having is that response.id is not fetching the tweet id. Could I get any pointers as to the right way to fetch the id of a tweet that was just posted?
# Post Tweet
response = client.create_tweet(text=tweet_msg)
# Respond to first tweet posted
client.create_tweet(text=reply_msg, in_reply_to_tweet_id=response.id)