Class BookmarkFolder
- Namespace
- Twikit
- Assembly
- Twikit.dll
ブックマークフォルダー。
public sealed class BookmarkFolder : IEquatable<BookmarkFolder>
- Inheritance
-
BookmarkFolder
- Implements
- Inherited Members
Constructors
BookmarkFolder(Client, JsonObject)
public BookmarkFolder(Client client, JsonObject data)
Parameters
clientClientdataJsonObject
Properties
Id
フォルダーの ID。
public string Id { get; }
Property Value
Media
アイコン画像の情報。
public JsonObject? Media { get; }
Property Value
Name
フォルダー名。
public string? Name { get; }
Property Value
Methods
AddAsync(string)
フォルダーにツイートを追加します。
public Task<HttpResponseMessage> AddAsync(string tweetId)
Parameters
tweetIdstring
Returns
DeleteAsync()
フォルダーを削除します。
public Task<HttpResponseMessage> DeleteAsync()
Returns
EditAsync(string)
フォルダー名を変更します。
public Task<BookmarkFolder> EditAsync(string name)
Parameters
namestring
Returns
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(BookmarkFolder?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BookmarkFolder? other)
Parameters
otherBookmarkFolderAn 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.
GetTweetsAsync(string?)
フォルダー内のツイートを取得します。
public Task<Result<Tweet>> GetTweetsAsync(string? cursor = null)
Parameters
cursorstring
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.