Table of Contents

Class GuestUser

Namespace
Twikit.Guest
Assembly
Twikit.dll

ゲストクライアントで取得したユーザー。

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

Constructors

GuestUser(GuestClient, JsonObject)

public GuestUser(GuestClient client, JsonObject data)

Parameters

client GuestClient
data JsonObject

Properties

CreatedAt

public string CreatedAt { get; }

Property Value

string

CreatedAtDatetime

public DateTimeOffset CreatedAtDatetime { get; }

Property Value

DateTimeOffset

Data

public JsonObject Data { get; }

Property Value

JsonObject

DefaultProfile

public bool DefaultProfile { get; }

Property Value

bool

DefaultProfileImage

public bool DefaultProfileImage { get; }

Property Value

bool

Description

public string Description { get; }

Property Value

string

DescriptionUrls

public List<UrlEntity> DescriptionUrls { get; }

Property Value

List<UrlEntity>

FastFollowersCount

public int FastFollowersCount { get; }

Property Value

int

FavouritesCount

public int FavouritesCount { get; }

Property Value

int

FollowersCount

public int FollowersCount { get; }

Property Value

int

FollowingCount

public int FollowingCount { get; }

Property Value

int

HasCustomTimelines

public bool HasCustomTimelines { get; }

Property Value

bool

Id

public string Id { get; }

Property Value

string

IsBlueVerified

public bool IsBlueVerified { get; }

Property Value

bool

IsTranslator

public bool IsTranslator { get; }

Property Value

bool

ListedCount

public int ListedCount { get; }

Property Value

int

Location

public string Location { get; }

Property Value

string

MediaCount

public int MediaCount { get; }

Property Value

int

Name

public string Name { get; }

Property Value

string

NormalFollowersCount

public int NormalFollowersCount { get; }

Property Value

int

ParodyCommentaryFanLabel

public string? ParodyCommentaryFanLabel { get; }

Property Value

string

PinnedTweetIds

public List<string> PinnedTweetIds { get; }

Property Value

List<string>

PossiblySensitive

public bool PossiblySensitive { get; }

Property Value

bool

ProfileBannerUrl

public string? ProfileBannerUrl { get; }

Property Value

string

ProfileImageUrl

public string ProfileImageUrl { get; }

Property Value

string

Protected

public bool Protected { get; }

Property Value

bool

ScreenName

public string ScreenName { get; }

Property Value

string

StatusesCount

public int StatusesCount { get; }

Property Value

int

TranslatorType

public string TranslatorType { get; }

Property Value

string

Url

public string? Url { get; }

Property Value

string

Urls

public List<UrlEntity> Urls { get; }

Property Value

List<UrlEntity>

Verified

public bool Verified { get; }

Property Value

bool

WithheldInCountries

public List<string> WithheldInCountries { get; }

Property Value

List<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(GuestUser?)

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

public bool Equals(GuestUser? other)

Parameters

other GuestUser

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.

GetHighlightsTweetsAsync(int, string?)

ハイライトツイートを取得します。

public Task<Result<GuestTweet>> GetHighlightsTweetsAsync(int count = 20, string? cursor = null)

Parameters

count int
cursor string

Returns

Task<Result<GuestTweet>>

GetTweetsAsync(string, int)

ユーザーのツイートを取得します。

public Task<List<GuestTweet>> GetTweetsAsync(string tweetType = "Tweets", int count = 40)

Parameters

tweetType string
count int

Returns

Task<List<GuestTweet>>

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.