DPB2Class · Interface and panels

LokiPoe.InGameState.ChatPanel

This class let you interact and retrieve info about the Chat panel. This class is compatible with POE2.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.InGameState.ChatPanel
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

7 declared here

Chat

MethodLink ↗
public static LokiPoe.InGameState.ChatResult LokiPoe.InGameState.ChatPanel.Chat(string message, bool actuallySend = true, bool clearchat = false)

Let you type a message in the chat.

Return type: LokiPoe.InGameState.ChatResult
Explore LokiPoe.InGameState.ChatResult → members & methods

Named values for chat result. Select a value when an API accepts or returns ChatResult.

Parameters

message
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

The message to type

actuallySend
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Should always be true.

clearchat
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

If set to true, this will force the bot to always clear the chant before to write the text, This is usually not needed, only us it if you experience strange game bugs with the chat.

Returns: ChatResult.None on success, or the relative error.

ToggleChat

MethodLink ↗
public static bool LokiPoe.InGameState.ChatPanel.ToggleChat(bool actuallyToggle = true)

Click the Toggle chat button, to open/close the chat panel.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

actuallyToggle
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Should always be true.

Returns: True on success.

ActiveCharacterNames

PropertyLink ↗
public static List<string> LokiPoe.InGameState.ChatPanel.ActiveCharacterNames { get; }

Return a List of string rapresenting all the names of characters that has posted at least 1 message, this is mostly used internally.

Value type: List<string>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

CurrentChatLines

PropertyLink ↗
public static int LokiPoe.InGameState.ChatPanel.CurrentChatLines { get; }

Return the number rapresenting the last chat message seen. When you create a chat wrapper class in your code, you should use this to store the processed message and know at what point you are. Please Note: The Poe chat is a big infinite list of chatmessage entry, while the client is open, it keep store those entry and newer clean them, so when you retrieve the chat message you always retrieve them all, that why you need to know what whas the last message you already processed.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsOpened

PropertyLink ↗
public static bool LokiPoe.InGameState.ChatPanel.IsOpened { get; }

True if the chat pannel is open

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

LazyMessages

PropertyLink ↗
public static List<KeyValuePair<long, LokiPoe.InGameState.ChatPanel.LazyChatEntry>> LokiPoe.InGameState.ChatPanel.LazyMessages { get; }

Retrieve the list of all chat message as a dictionary where key is the address of the message and value is a LazyChatEntry rapresenting the message.

Value type: List<KeyValuePair<long,No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Messages

PropertyLink ↗
public static List<LokiPoe.InGameState.ChatPanel.ChatEntry> LokiPoe.InGameState.ChatPanel.Messages { get; }

Retur a List of ChatEntry with all the message the game client has recieved.

Value type: List<No current DPB page is linked for this built-in, external, generic or compatibility-only type.

DPB2 0.4.5.103 · 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.