Chats
Last updated
Was this helpful?
Last updated
Was this helpful?
You can find more details about all parameters and their types in .
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:
id*
ChatID string
pattern: ^[\d-]{10,31}@[\w\.]{1,}$
Chat ID
name
string
example: Chat name
Chat name
type*
string
example: group
Chat type
Enum: [ group, contact, broadcast, newsletter ]
timestamp
integer
example: 1675964377
Chat timestamp
chat_pic
string
example: https://example.com/photo.jpg
Chat picture URL
chat_pic_full
string
example: https://example.com/photo.jpg
Chat full picture URL
pin
boolean
example: true
Is chat pinned
mute
boolean
example: true
Is chat muted
mute_until
integer
example: 0
Chat mute until
archive
boolean
example: true
Is chat archived
unread
integer
example: 0
Unread messages count
unread_mention
boolean
example: false
Is chat unread mention
read_only
boolean
example: false
Is chat read only
not_spam
boolean
example: true
Is chat not spam
last_message
labels
Message