CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | Properties | List of all members
CoreTweet.MediaEntity Class Reference

Represents a media object that contains the URLs, sizes and type of the media. More...

Inheritance diagram for CoreTweet.MediaEntity:
CoreTweet.UrlEntity CoreTweet.Entity CoreTweet.Core.CoreBase

Public Member Functions

override string ToString ()
 Returns the ID of this instance. More...
 

Properties

long Id [get, set]
 Gets or sets the ID of the media expressed as a 64-bit integer. More...
 
AdditionalMediaInfo AdditionalMediaInfo [get, set]
 Gets or sets the additional media info provided by the publisher. More...
 
string ExtAltText [get, set]
 Gets or sets the alt text. More...
 
string MediaUrl [get, set]
 Gets or sets the URL pointing directly to the uploaded media file. More...
 
string MediaUrlHttps [get, set]
 Gets or sets the URL pointing directly to the uploaded media file, for embedding on https pages. More...
 
MediaSizes Sizes [get, set]
 Gets or sets the object showing available sizes for the media file. More...
 
long? SourceStatusId [get, set]
 
string Type [get, set]
 Gets or sets the type of uploaded media. More...
 
VideoInfo VideoInfo [get, set]
 Gets or sets the information of the uploaded video or animated GIF. More...
 
- Properties inherited from CoreTweet.UrlEntity
string DisplayUrl [get, set]
 Gets or sets the URL to display on clients. More...
 
string ExpandedUrl [get, set]
 Gets or sets the expanded version of DisplayUrl. More...
 
string Url [get, set]
 Gets or sets the wrapped URL, corresponding to the value embedded directly into the raw Tweet text, and the values for the indices parameter. More...
 
- Properties inherited from CoreTweet.Entity
int[] Indices [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents a media object that contains the URLs, sizes and type of the media.

Member Function Documentation

◆ ToString()

override string CoreTweet.MediaEntity.ToString ( )
inline

Returns the ID of this instance.

Returns
The ID of this instance.

Property Documentation

◆ AdditionalMediaInfo

AdditionalMediaInfo CoreTweet.MediaEntity.AdditionalMediaInfo
getset

Gets or sets the additional media info provided by the publisher.

◆ ExtAltText

string CoreTweet.MediaEntity.ExtAltText
getset

Gets or sets the alt text.

◆ Id

long CoreTweet.MediaEntity.Id
getset

Gets or sets the ID of the media expressed as a 64-bit integer.

◆ MediaUrl

string CoreTweet.MediaEntity.MediaUrl
getset

Gets or sets the URL pointing directly to the uploaded media file.

◆ MediaUrlHttps

string CoreTweet.MediaEntity.MediaUrlHttps
getset

Gets or sets the URL pointing directly to the uploaded media file, for embedding on https pages.

◆ Sizes

MediaSizes CoreTweet.MediaEntity.Sizes
getset

Gets or sets the object showing available sizes for the media file.

◆ SourceStatusId

long? CoreTweet.MediaEntity.SourceStatusId
getset

Gets or sets the ID points to the original Tweet.

(Only for Tweets containing media that was originally associated with a different tweet.)

◆ Type

string CoreTweet.MediaEntity.Type
getset

Gets or sets the type of uploaded media.

◆ VideoInfo

VideoInfo CoreTweet.MediaEntity.VideoInfo
getset

Gets or sets the information of the uploaded video or animated GIF.


The documentation for this class was generated from the following file: