Class GuestTweet
ゲストクライアントで取得したツイート。
public sealed class GuestTweet : IEquatable<GuestTweet>
- Inheritance
-
GuestTweet
- Implements
- Inherited Members
Constructors
GuestTweet(GuestClient, JsonObject, GuestUser?)
public GuestTweet(GuestClient client, JsonObject data, GuestUser? user = null)
Parameters
clientGuestClientdataJsonObjectuserGuestUser
Properties
BookmarkCount
public int BookmarkCount { get; }
Property Value
Bookmarked
public bool Bookmarked { get; }
Property Value
CommunityNote
public BirdwatchNote? CommunityNote { get; }
Property Value
CreatedAt
public string CreatedAt { get; }
Property Value
CreatedAtDatetime
public DateTimeOffset CreatedAtDatetime { get; }
Property Value
Data
public JsonObject Data { get; }
Property Value
EditTweetIds
public List<string> EditTweetIds { get; }
Property Value
EditableUntilMsecs
public long? EditableUntilMsecs { get; }
Property Value
- long?
EditsRemaining
public int? EditsRemaining { get; }
Property Value
- int?
FavoriteCount
public int FavoriteCount { get; }
Property Value
Favorited
public bool Favorited { get; }
Property Value
FullText
public string FullText { get; }
Property Value
HasCard
public bool HasCard { get; }
Property Value
HasCommunityNotes
public bool HasCommunityNotes { get; }
Property Value
Hashtags
public List<string> Hashtags { get; }
Property Value
Highlighted
投稿者の「ハイライト」タブに入っているか。GetUserHighlightsTweetsAsync(string, int, string?) で取得したツイートだけ true になり、 それ以外は null(X はタイムラインにこのフラグを含めません)。
public bool? Highlighted { get; }
Property Value
- bool?
Id
public string Id { get; }
Property Value
InReplyTo
public string? InReplyTo { get; }
Property Value
IsEditEligible
public bool IsEditEligible { get; }
Property Value
IsQuoteStatus
public bool IsQuoteStatus { get; }
Property Value
IsTranslatable
public bool IsTranslatable { get; }
Property Value
Lang
public string? Lang { get; }
Property Value
Media
添付メディア。
public List<Media> Media { get; }
Property Value
PlaceData
public JsonObject? PlaceData { get; }
Property Value
PollData
public JsonObject? PollData { get; }
Property Value
PossiblySensitive
public bool PossiblySensitive { get; }
Property Value
PossiblySensitiveEditable
public bool PossiblySensitiveEditable { get; }
Property Value
Quote
public GuestTweet? Quote { get; }
Property Value
QuoteCount
public int QuoteCount { get; }
Property Value
RelatedTweets
public List<GuestTweet>? RelatedTweets { get; set; }
Property Value
ReplyCount
public int ReplyCount { get; }
Property Value
ReplyTo
public List<GuestTweet>? ReplyTo { get; set; }
Property Value
RetweetCount
public int RetweetCount { get; }
Property Value
RetweetedTweet
public GuestTweet? RetweetedTweet { get; }
Property Value
Text
public string Text { get; }
Property Value
Thread
public List<GuestTweet>? Thread { get; set; }
Property Value
ThumbnailTitle
public string? ThumbnailTitle { get; }
Property Value
ThumbnailUrl
public string? ThumbnailUrl { get; }
Property Value
Urls
public List<UrlEntity> Urls { get; }
Property Value
User
public GuestUser? User { get; }
Property Value
ViewCount
public string? ViewCount { get; }
Property Value
ViewCountState
public string? ViewCountState { 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(GuestTweet?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GuestTweet? other)
Parameters
otherGuestTweetAn object to compare with this object.
Returns
FromData(GuestClient, JsonNode?)
タイムラインのエントリなどから GuestTweet を作ります。
public static GuestTweet? FromData(GuestClient client, JsonNode? data)
Parameters
clientGuestClientdataJsonNode
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.