ChatMessage
class flow_api.chat_message.ChatMessage(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, commit=False, chat_id=<class 'flow_api.system.NotSet'>, content=<class 'flow_api.system.NotSet'>, data=<class 'flow_api.system.NotSet'>, debug=False)
Base class: Row
A message in a chat.
Parameters
| Name | Type | Description |
|---|---|---|
| allow_deleted | bool | |
| allow_normal | bool | |
| by | str | |
| chat_id | Union | Reference to the chat this message belongs to. |
| cls | Optional | |
| commit | bool | |
| content | Union | The content of the message. |
| data | Union | Data attached to a chat message. This can be context or actions. |
| debug | bool | if set, the content of the data being written will be logged. |
| init | Optional | |
| select | Optional |
Constants
RESOURCE = chat_messageMethods
chat
details
clone
details
delete
details
duplicate
details
exists
details
export
details
get
details
get_dict
details
restore
details
save
details