github.com/sharovik/devbot@v1.0.1-0.20240308094637-4a0387c40516/documentation/event-message.md (about)

     1  # Event Message
     2  Here you can find information about the event-message object and how it can be used in you custom-event.
     3  
     4  ## The structure
     5  Each event receives in the `Execute` method the object type of [dto.BaseChatMessage](../internal/dto/base_chat_message.go). While working with this message you might need to use the following attributes:
     6  - `DictionaryMessage` - this is a generated answer, which bot found in the database. 
     7  - `Text` - text of answer which can be modified by your custom event 
     8  - `OriginalMessage` - this is a copy of original message, which should not be changed and should be used as source of truth.
     9  
    10  More details you can find in the [dto.BaseChatMessage](../internal/dto/base_chat_message.go)