Chats
You can find more details about all parameters and their types in the WebHook documentation.
The chats array contains all chats that were sent to the webhook URL. Sent on event "chats.post
" or "chats.put
". We mentioned more about the events here: Mode setting
New incoming message in chat
New outgoing message in chat
Format
id* | ChatID Chat ID |
name |
Chat name |
type* |
Chat type Enum: [ group, contact, broadcast, newsletter ] |
timestamp |
Chat timestamp |
chat_pic |
Chat picture URL |
chat_pic_full |
Chat full picture URL |
pin |
Is chat pinned |
mute |
Is chat muted |
mute_until |
Chat mute until |
archive |
Is chat archived |
unread |
Unread messages count |
unread_mention |
Is chat unread mention |
read_only |
Is chat read only |
not_spam |
Is chat not spam |
last_message | Message{...} |
labels |
Last updated