Table of Contents

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

client Client
data JsonObject
senderId string
groupId string

Properties

GroupId

グループの ID。

public string GroupId { get; }

Property Value

string

Methods

AddReactionAsync(string)

リアクションを追加します。

public override Task<HttpResponseMessage> AddReactionAsync(string emoji)

Parameters

emoji string

Returns

Task<HttpResponseMessage>

GetGroupAsync()

メッセージが送られたグループを取得します。

public Task<Group> GetGroupAsync()

Returns

Task<Group>

RemoveReactionAsync(string)

リアクションを削除します。

public override Task<HttpResponseMessage> RemoveReactionAsync(string emoji)

Parameters

emoji string

Returns

Task<HttpResponseMessage>

ReplyAsync(string, string?)

このメッセージに返信します。

public override Task<Message> ReplyAsync(string text, string? mediaId = null)

Parameters

text string
mediaId string

Returns

Task<Message>

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.