Name | Type | Description | Notes |
---|---|---|---|
id | string | unique id | [optional] |
body | string | text message for type "chat", or link to download the file for "ptt", "image", "audio", "video" and "document", or latitude and longitude for "location", or message "[Call]" for "call_log" | [optional] |
type | string | type of the message | [optional] |
sender_name | string | Sender name | [optional] |
from_me | bool | true - outgoing, false - incoming | [optional] |
author | string | Author ID of the message, useful for groups | [optional] |
time | int | send time, unix timestamp | [optional] |
chat_id | string | chat ID | [optional] |
message_number | int | sequence number of the message in the database | [optional] |