Table of Contents

Class CommunityNote

Namespace
Twikit
Assembly
Twikit.dll

コミュニティノート。

public sealed class CommunityNote : IEquatable<CommunityNote>
Inheritance
CommunityNote
Implements
Inherited Members

Constructors

CommunityNote(Client, JsonObject, string?)

public CommunityNote(Client client, JsonObject data, string? tweetId = null)

Parameters

client Client
data JsonObject
tweetId string

Properties

AppealStatus

異議申し立ての状態。

public string? AppealStatus { get; }

Property Value

string

AuthorAlias

執筆者の協力者エイリアス(birdwatch_profile.alias)。

public string? AuthorAlias { get; }

Property Value

string

BirdwatchProfile

ノートに関連する Birdwatch プロフィール。

public JsonObject? BirdwatchProfile { get; }

Property Value

JsonObject

CanAppeal

異議申し立てできるか。

public bool CanAppeal { get; }

Property Value

bool

Classification

MisinformedOrPotentiallyMisleading または NotMisleading。

public string? Classification { get; }

Property Value

string

CreatedAt

作成時刻。

public long? CreatedAt { get; }

Property Value

long?

DecidedBy

RatingStatus を出した採点モデル(CoreModel (v1.1))。

public string? DecidedBy { get; }

Property Value

string

HelpfulTags

役に立つ情報を示すタグ。

public List<string> HelpfulTags { get; }

Property Value

List<string>

Id

ノートの ID。

public string Id { get; }

Property Value

string

IsMediaNote

メディアに対するノートか。

public bool IsMediaNote { get; }

Property Value

bool

IsUrlNote

public bool IsUrlNote { get; }

Property Value

bool

Language

public string? Language { get; }

Property Value

string

MediaNoteMatches

public string? MediaNoteMatches { get; }

Property Value

string

MisleadingTags

誤解を招く情報を示すタグ。

public List<string> MisleadingTags { get; }

Property Value

List<string>

NotHelpfulTags

評価者が「役に立たない」とした理由(X が判定を出したあとに入ります)。

public List<string> NotHelpfulTags { get; }

Property Value

List<string>

NotMisleadingTags

NotMisleading のノートのタグ(ClearlySatire、FactuallyCorrect など)。

public List<string> NotMisleadingTags { get; }

Property Value

List<string>

RatingStatus

NeedsMoreRatings、CurrentlyRatedHelpful、CurrentlyRatedNotHelpful。

public string? RatingStatus { get; }

Property Value

string

Raw

生の JSON。

public JsonObject Raw { get; }

Property Value

JsonObject

Text

ノートの本文。

public string? Text { get; }

Property Value

string

TrustworthySources

情報源が信頼できるか。

public bool TrustworthySources { get; }

Property Value

bool

TweetId

ノートが付いたツイートの ID。

public string? TweetId { get; }

Property Value

string

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(CommunityNote?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(CommunityNote? other)

Parameters

other CommunityNote

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

RateAsync(string, IEnumerable<string>?, IEnumerable<string>?, string, bool)

このノートを評価します。

public Task<CommunityNoteRating> RateAsync(string helpfulness, IEnumerable<string>? helpfulTags = null, IEnumerable<string>? notHelpfulTags = null, string ratingSource = "BirdwatchPostDetail", bool forLiveNote = false)

Parameters

helpfulness string
helpfulTags IEnumerable<string>
notHelpfulTags IEnumerable<string>
ratingSource string
forLiveNote bool

Returns

Task<CommunityNoteRating>
See Also

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

UpdateAsync()

最新の情報で更新します。

public Task UpdateAsync()

Returns

Task