Name Result Description Code Params Examples
Add - Write message to system chat/log
procedure Add(Sender, Text: string; ChatType: TMessageType; Color: Integer);

Sender - message sender
Text - message test
ChatType - chat/log type. Chats types.
Color - message color. Colors codes.

You need to register to view the code example.
Clear - Delete messages from system chat/log
procedure Clear(All: boolean; ChatType: TMessageType);

All - clear all chats/logs

ChatType - chat/logs type. Chats types.

You need to register to view the code example.
GetMessage TChatMessage Get message from list/logs by index
function GetMessage(Index: Integer; ChatType: TMessageType): TChatMessage;

Index - messge index (starting from 0)
ChatType - chat/log type. Chats types.

You need to register to view the code example.
Count Integer Chat/log messages number
function Count(ChatType: TMessageType): integer;

ChatType - chat/log type. Chats types.

You need to register to view the code example.
SaveToFile - Save system chat/log messages to file
procedure SaveToFile(Path: String; ChatType: TMessageType);

Path - file path

ChatType - chat/log type. Chats types.

You need to register to view the code example.

Objects

Имя Класс Description
History TMessages Account messages / logs list in Adrenaline

Methods

Имя Результат Description
TBot.History TMessages Account interface messages/logs list