Class GroupMessage
- Namespace
- Twikit
- Assembly
- Twikit.dll
グループ DM のメッセージ。
public sealed class GroupMessage : Message, IEquatable<Message>
- Inheritance
-
GroupMessage
- Implements
- Inherited Members
Constructors
GroupMessage(Client, JsonObject, string, string)
public GroupMessage(Client client, JsonObject data, string senderId, string groupId)
Parameters
clientClientdataJsonObjectsenderIdstringgroupIdstring
Properties
GroupId
グループの ID。
public string GroupId { get; }
Property Value
Methods
AddReactionAsync(string)
リアクションを追加します。
public override Task<HttpResponseMessage> AddReactionAsync(string emoji)
Parameters
emojistring
Returns
GetGroupAsync()
メッセージが送られたグループを取得します。
public Task<Group> GetGroupAsync()
Returns
RemoveReactionAsync(string)
リアクションを削除します。
public override Task<HttpResponseMessage> RemoveReactionAsync(string emoji)
Parameters
emojistring
Returns
ReplyAsync(string, string?)
このメッセージに返信します。
public override Task<Message> ReplyAsync(string text, string? mediaId = null)
Parameters
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.