CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Static Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
CoreTweet.Streaming.StreamingMessage Class Referenceabstract

Represents a streaming message. This class is an abstract class. More...

Inheritance diagram for CoreTweet.Streaming.StreamingMessage:
CoreTweet.Core.CoreBase CoreTweet.Streaming.ControlMessage CoreTweet.Streaming.DirectMessageMessage CoreTweet.Streaming.DisconnectMessage CoreTweet.Streaming.EnvelopesMessage CoreTweet.Streaming.EventMessage CoreTweet.Streaming.FriendsMessage CoreTweet.Streaming.RawJsonMessage CoreTweet.Streaming.TimestampMessage

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...
 

Detailed Description

Represents a streaming message. This class is an abstract class.

Member Function Documentation

◆ GetMessageType()

abstract MessageType CoreTweet.Streaming.StreamingMessage.GetMessageType ( )
protectedpure virtual

◆ Parse()

static StreamingMessage CoreTweet.Streaming.StreamingMessage.Parse ( string  x)
inlinestatic

Converts the JSON to a StreamingMessage object.

Parameters
xThe JSON value.
Returns
The StreamingMessage object.

Member Data Documentation

◆ Type

MessageType CoreTweet.Streaming.StreamingMessage.Type => this.GetMessageType()

Gets the type of the message.

Property Documentation

◆ Json

string CoreTweet.Streaming.StreamingMessage.Json
getset

Gets or sets the raw JSON.


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