<< Click to display table of contents >> TRVChat.Messages |
The collection of chat messages.
property Messages: TRVChatMessageCollection;
The item's class is TRVChatMessage.
You should not add, delete, or modify the properties of this collection directly. All operations with messages must be performed using the chat's methods. The only exception is changing the message state (to new, sent, read, or failed).
This is a public property, it is not stored in a form.
How to add your fields to messages
Create your own class inherited from TRVChatMessage and assign its type to RVChatMessageClass variable. Do it before the first use of TRVChat component (for example, in the unit's initialization section)