CoreTweet
2.0.0-beta.2
Yet another .NET Twitter Library
|
Represents a streaming message. This class is an abstract class. More...
Static Public Member Functions | |
static StreamingMessage | Parse (string x) |
Converts the JSON to a StreamingMessage object. More... | |
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) |
Public Attributes | |
MessageType | Type => this.GetMessageType() |
Gets the type of the message. More... | |
Protected Member Functions | |
abstract MessageType | GetMessageType () |
Gets the type of the message. More... | |
Properties | |
string | Json [get, set] |
Gets or sets the raw JSON. More... | |
Represents a streaming message. This class is an abstract class.
|
protectedpure virtual |
Gets the type of the message.
Implemented in CoreTweet.Streaming.RawJsonMessage, CoreTweet.Streaming.ControlMessage, CoreTweet.Streaming.EnvelopesMessage, CoreTweet.Streaming.EventMessage, CoreTweet.Streaming.WarningMessage, CoreTweet.Streaming.DisconnectMessage, CoreTweet.Streaming.UserMessage, CoreTweet.Streaming.StatusWithheldMessage, CoreTweet.Streaming.UserWithheldMessage, CoreTweet.Streaming.ScrubGeoMessage, CoreTweet.Streaming.DeleteMessage, CoreTweet.Streaming.LimitMessage, CoreTweet.Streaming.FriendsMessage, CoreTweet.Streaming.DirectMessageMessage, and CoreTweet.Streaming.StatusMessage.
|
inlinestatic |
Converts the JSON to a StreamingMessage object.
x | The JSON value. |
MessageType CoreTweet.Streaming.StreamingMessage.Type => this.GetMessageType() |
Gets the type of the message.
|
getset |
Gets or sets the raw JSON.