mediaUrlHttps property
An https:// URL pointing directly to the uploaded media file, for embedding on https pages.
For media in direct messages, mediaUrlHttps must be accessed by signing a request with the user’s access token using OAuth 1.0A.
You cannot directly embed these images in a web page.
See https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/entities-object#photo_format for how to format a photo's URL, such as mediaUrlHttps, based on the available sizes.
Implementation
String? mediaUrlHttps;