Table of Contents

Class SearchOptions

Namespace
Twikit
Assembly
Twikit.dll

Build(string, SearchOptions) に渡す検索オプション。

public sealed class SearchOptions
Inheritance
SearchOptions
Inherited Members

Properties

ExactPhrases

検索クエリに含める完全一致フレーズの一覧。

public IList<string>? ExactPhrases { get; set; }

Property Value

IList<string>

ExcludeFilters

除外するフィルター(SearchFilters)。

public IList<string>? ExcludeFilters { get; set; }

Property Value

IList<string>

ExcludeKeywords

除外するキーワードの一覧。

public IList<string>? ExcludeKeywords { get; set; }

Property Value

IList<string>

Filters

含めるフィルター(SearchFilters)。

public IList<string>? Filters { get; set; }

Property Value

IList<string>

FromUser

このユーザーのツイートだけを対象にします。

public string? FromUser { get; set; }

Property Value

string

Hashtags

検索クエリに含めるハッシュタグの一覧。

public IList<string>? Hashtags { get; set; }

Property Value

IList<string>

MentionedUsers

これらのユーザーに言及しているツイートだけを対象にします。

public IList<string>? MentionedUsers { get; set; }

Property Value

IList<string>

Negative

ネガティブな感情のツイートを含めます。

public bool? Negative { get; set; }

Property Value

bool?

OrKeywords

いずれか 1 つを含めばよいキーワードの一覧。

public IList<string>? OrKeywords { get; set; }

Property Value

IList<string>

Place

場所で絞り込みます(例: 'Warsaw')。X は near:、within:、geocode: を 廃止しており何も返さないため、残っている位置フィルターはこれだけです。

public string? Place { get; set; }

Property Value

string

Positive

ポジティブな感情のツイートを含めます。

public bool? Positive { get; set; }

Property Value

bool?

Question

疑問形のツイートを検索します。

public bool? Question { get; set; }

Property Value

bool?

Since

この日付(YYYY-MM-DD)以降のツイートだけを対象にします。

public string? Since { get; set; }

Property Value

string

ToUser

このユーザー宛てのツイートだけを対象にします。

public string? ToUser { get; set; }

Property Value

string

Until

この日付(YYYY-MM-DD)までのツイートだけを対象にします。

public string? Until { get; set; }

Property Value

string

Urls

これらの URL を含むツイートだけを対象にします。

public IList<string>? Urls { get; set; }

Property Value

IList<string>