Table of Contents

Property LastMessageId

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

LastMessageId

Gets the ID of the last message sent in this channel. This is applicable to text channels only.

[JsonProperty("last_message_id", NullValueHandling = NullValueHandling.Ignore)]
public ulong? LastMessageId { get; }

Property Value

ulong?

Remarks

For forum posts, this ID may point to an invalid mesage (e.g. the OP deleted the initial forum message).