Where I can find extended_entities?


I’m retrieving tweets with the option tweet_mode=extended.
I’m wondering what is the condition to get the extended_entities (sub)object: always, when the tweet contains some pic, when the tweet contain some video, or something else?


extended_entities will be present when there is media (image, GIF or video) attached to the Tweet. tweet_mode=extended is specifically for retrieving the longer text from Tweets with more than 140 text characters or simplified reply characteristics.