Table of Contents

Class Payload

Namespace
Twikit.Streaming
Assembly
Twikit.dll

数種類のイベントをまとめたペイロード。

public sealed class Payload
Inheritance
Payload
Inherited Members

Properties

Config

設定イベント。

public ConfigEvent? Config { get; init; }

Property Value

ConfigEvent

DmTyping

DM の入力中イベント。

public DmTypingEvent? DmTyping { get; init; }

Property Value

DmTypingEvent

DmUpdate

DM の更新イベント。

public DmUpdateEvent? DmUpdate { get; init; }

Property Value

DmUpdateEvent

Subscriptions

購読イベント。

public SubscriptionsEvent? Subscriptions { get; init; }

Property Value

SubscriptionsEvent

TweetEngagement

ツイートのエンゲージメントイベント。

public TweetEngagementEvent? TweetEngagement { get; init; }

Property Value

TweetEngagementEvent

Methods

FromData(JsonNode?)

ストリームの 1 行(payload オブジェクト)から作ります。

public static Payload FromData(JsonNode? data)

Parameters

data JsonNode

Returns

Payload

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.