Skip to main content
GET
Refresh chat info

Авторизации

Authorization
string
header
обязательно

API key with bmx_ prefix. Obtain via /api/auth/api-keys.

Параметры запроса

bot_id
integer
обязательно

Bot ID

chat_id
integer
обязательно

Chat ID to refresh

Ответ

Updated chat info

id
integer

Telegram chat ID

bot_id
integer

ID of the bot tracking this chat

title
string

Chat title or name

type
string

Chat type (private, group, supergroup, channel)

username
string

Chat username if public

first_name
string

First name (for private chats)

last_name
string

Last name (for private chats)

message_count
integer

Number of tracked messages