Class PubSubWhisperEventData
- Assembly
- Firesplash.UnityAssets.TwitchIntegration.dll
Unfortunately this message is documented but without any documentation... We tried our best to elaborate.
[Serializable]
public class PubSubWhisperEventData : PubSubEventMessageData
- Inheritance
-
PubSubWhisperEventData
- Inherited Members
Properties
Body
The actual chat message containing all emotes as text
[JsonProperty("body")]
public string Body { get; }
Property Value
Data
The twitch documentation is not clear on this data structure and the JSON they deliver is invalid. It is just implemented for reference. Blame Twitch. Sorry.
[JsonProperty("data")]
public AbsolutelyStupidPubSubWhisperDataObject Data { get; }
Property Value
FromId
The user id of the chatter who sent the message
[JsonProperty("from_id")]
public int FromId { get; }
Property Value
Nonce
A unique id of the pubsub message
[JsonProperty("nonce")]
public string Nonce { get; }
Property Value
Recipient
The Chatter-Object of the receiver of this message
[JsonProperty("recipient")]
public Chatter Recipient { get; }
Property Value
SentTs
A Unix Timestamp when the message was sent
[JsonProperty("sent_ts")]
public int SentTs { get; }
Property Value
Tags
The IRC Tages of this message containing additional information
[JsonProperty("tags")]
public IRCMessageTags Tags { get; }
Property Value
ThreadId
Guess: The new "Reply" feature? Probably this is indicating a reply to another message's Data.Id
[JsonProperty("thread_id")]
public string ThreadId { get; }
Property Value
Type
Always whisper_received
[JsonProperty("type")]
public string Type { get; }