Represent an individual message of a conversation
| id |
|---|
|
The message ID |
| conversationId |
|
The conversation ID which the message tied to |
| sender |
|
The user ID of the sender |
| createdAt |
|
The created datetime |
| state |
|
The status of the message: |
| sequence |
|
The sequence of the message |
| type |
|
The type of the message:
- type = 1: Text. - type = 2: Photo. - type = 3: Video. - type = 4: Audio. - type = 5: File. - type = 6: Link. - type = 7: Conversation creation notification. - type = 8: Conversation rename notification. - type = 9: Location. - type = 10: Contact. - type = 11: Sticker. - type = 100: Notification |
| content |
|
The content of the message |