Skip to main content
GET
Get audit log

Авторизации

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

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

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

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

Chat ID

limit
integer
по умолчанию:50
Требуемый диапазон: x <= 200
offset
integer
по умолчанию:0

Ответ

Audit log entries

id
integer
chat_id
integer
bot_id
integer
action
string

Action performed (e.g., ban, unban, promote, demote, pin, delete)

actor_id
integer

User who performed the action

actor_username
string
target_id
integer

User/message that was acted upon

target_username
string
details
string

Additional action details

date
integer

Unix timestamp