DPB1Interface · Bots, plugins and tasks

IMessageHandler

Defines the message handler contract. Implement the listed members to provide this capability.

Namespace: DreamPoeBot.Loki.Bot

public interface IMessageHandler
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here

Message

MethodLink ↗
MessageResult IMessageHandler.Message(Message message)

Handles a synchronous request identified by Message.Id. Return Processed only for a recognized request; leave unknown requests Unprocessed. Input and output types are an agreement between sender and receiver.

Return type: MessageResult
Explore MessageResult → members & methods

Named values for message result. Select a value when an API accepts or returns MessageResult.

Parameters

message

Specifies message.

Returns: The MessageResult result.

Guides using this class

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.