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
clientClientdataJsonObjecttweetIdstring
Properties
AppealStatus
異議申し立ての状態。
public string? AppealStatus { get; }
Property Value
AuthorAlias
執筆者の協力者エイリアス(birdwatch_profile.alias)。
public string? AuthorAlias { get; }
Property Value
BirdwatchProfile
ノートに関連する Birdwatch プロフィール。
public JsonObject? BirdwatchProfile { get; }
Property Value
CanAppeal
異議申し立てできるか。
public bool CanAppeal { get; }
Property Value
Classification
MisinformedOrPotentiallyMisleading または NotMisleading。
public string? Classification { get; }
Property Value
CreatedAt
作成時刻。
public long? CreatedAt { get; }
Property Value
- long?
DecidedBy
RatingStatus を出した採点モデル(CoreModel (v1.1))。
public string? DecidedBy { get; }
Property Value
HelpfulTags
役に立つ情報を示すタグ。
public List<string> HelpfulTags { get; }
Property Value
Id
ノートの ID。
public string Id { get; }
Property Value
IsMediaNote
メディアに対するノートか。
public bool IsMediaNote { get; }
Property Value
IsUrlNote
public bool IsUrlNote { get; }
Property Value
Language
public string? Language { get; }
Property Value
MediaNoteMatches
public string? MediaNoteMatches { get; }
Property Value
MisleadingTags
誤解を招く情報を示すタグ。
public List<string> MisleadingTags { get; }
Property Value
NotHelpfulTags
評価者が「役に立たない」とした理由(X が判定を出したあとに入ります)。
public List<string> NotHelpfulTags { get; }
Property Value
NotMisleadingTags
NotMisleading のノートのタグ(ClearlySatire、FactuallyCorrect など)。
public List<string> NotMisleadingTags { get; }
Property Value
RatingStatus
NeedsMoreRatings、CurrentlyRatedHelpful、CurrentlyRatedNotHelpful。
public string? RatingStatus { get; }
Property Value
Raw
生の JSON。
public JsonObject Raw { get; }
Property Value
Text
ノートの本文。
public string? Text { get; }
Property Value
TrustworthySources
情報源が信頼できるか。
public bool TrustworthySources { get; }
Property Value
TweetId
ノートが付いたツイートの ID。
public string? TweetId { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Equals(CommunityNote?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(CommunityNote? other)
Parameters
otherCommunityNoteAn object to compare with this object.
Returns
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
helpfulnessstringhelpfulTagsIEnumerable<string>notHelpfulTagsIEnumerable<string>ratingSourcestringforLiveNotebool
Returns
- 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()