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

Represents an event message. More...

Inheritance diagram for CoreTweet.Streaming.EventMessage:
CoreTweet.Streaming.StreamingMessage CoreTweet.Core.CoreBase

Protected Member Functions

override MessageType GetMessageType ()
 Gets the type of the message. More...
 

Properties

User Target [get, set]
 Gets or sets the target user. More...
 
User Source [get, set]
 Gets or sets the source. More...
 
EventCode Event [get, set]
 Gets or sets the event code. More...
 
EventTargetType TargetType [get, set]
 Gets or sets the type of target. More...
 
Status TargetStatus [get, set]
 Gets or sets the target status. More...
 
List TargetList [get, set]
 Gets or sets the target List. More...
 
AccessRevocation TargetToken [get, set]
 Gets or sets the target access token. More...
 
DateTimeOffset CreatedAt [get, set]
 Gets or sets the time when the event happened. More...
 
- Properties inherited from CoreTweet.Streaming.StreamingMessage
string Json [get, set]
 Gets or sets the raw JSON. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Streaming.StreamingMessage
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 inherited from CoreTweet.Streaming.StreamingMessage
MessageType Type => this.GetMessageType()
 Gets the type of the message. More...
 

Detailed Description

Represents an event message.

Member Function Documentation

◆ GetMessageType()

override MessageType CoreTweet.Streaming.EventMessage.GetMessageType ( )
inlineprotectedvirtual

Gets the type of the message.

Returns
The type of the message.

Implements CoreTweet.Streaming.StreamingMessage.

Property Documentation

◆ CreatedAt

DateTimeOffset CoreTweet.Streaming.EventMessage.CreatedAt
getset

Gets or sets the time when the event happened.

◆ Event

EventCode CoreTweet.Streaming.EventMessage.Event
getset

Gets or sets the event code.

◆ Source

User CoreTweet.Streaming.EventMessage.Source
getset

Gets or sets the source.

◆ Target

User CoreTweet.Streaming.EventMessage.Target
getset

Gets or sets the target user.

◆ TargetList

List CoreTweet.Streaming.EventMessage.TargetList
getset

Gets or sets the target List.

◆ TargetStatus

Status CoreTweet.Streaming.EventMessage.TargetStatus
getset

Gets or sets the target status.

◆ TargetToken

AccessRevocation CoreTweet.Streaming.EventMessage.TargetToken
getset

Gets or sets the target access token.

◆ TargetType

EventTargetType CoreTweet.Streaming.EventMessage.TargetType
getset

Gets or sets the type of target.


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