POST /restriction
Выдать ограничение пользователю в чате.
Request parameters
POST /restriction HTTP/1.1
Content-Type: application/json
{
"user":1773048581,
"type":"warn",
"reason":"https://t.me/lololowkasflood/1181473"
}
Responses
[
{
"chat_id": -1001889195744,
"user_id": 1773048581,
"moder_id": -993,
"type": "warn",
"reason": "https://t.me/lololowkasflood/1181473",
"time": "2024-02-15T18:23:49.283Z",
"end_time": "2024-02-29T18:23:49.283Z",
"id": 27775,
"message": null,
"canceled": false,
"reactions": 0
}
]
16 февраля 2024