MediaEntity

Fields

Name Type Required Description
Id INT64 false Returns the id of the media.
Type STRING false Returns the media type photo, video, animated_gif.
MediaURL STRING false Returns the media URL.
Sizes MAP < INT32 , Size > true  
MediaURLHttps STRING false Returns the media secure URL.
VideoAspectRatioWidth INT32 false  
VideoAspectRatioHeight INT32 false  
VideoDurationMillis INT64 false  
VideoVariants ARRAY < Variant > false Returns size variations of the media.
ExtAltText STRING false  
URL STRING false Returns the URL mentioned in the tweet.
Text STRING false Returns the URL mentioned in the tweet.
ExpandedURL STRING false Returns the expanded URL if mentioned URL is shorten.
Start INT32 false Returns the index of the start character of the URL mentioned in the tweet.
End INT32 false Returns the index of the end character of the URL mentioned in the tweet.
DisplayURL STRING false Returns the display URL if mentioned URL is shorten.