Table of Contents

Interface IMessageUpdateShardedGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when a message is updated. The inner payload is a message object with set GuildId, and Author fields.

public interface IMessageUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildMessages, DirectMessages*
Optional Intents:

  • MessageContent For receiving Content, Embeds, Attachments and Embeds.
    This does not apply to:
    • Content in messages sent by the bot.
    • Content in DMs with the bot.
    • Content in which the bot is mentioned.
    • Content of messages a message context menu command is used on.


*Ephemeral messages do not use the guild channel. Because of this, they are tied to the DirectMessages intent, and the message object won't include a GuildId or Author.

Methods

HandleAsync(GatewayClient, Message)

ValueTask HandleAsync(GatewayClient client, Message arg)

Parameters

client GatewayClient
arg Message

Returns

ValueTask