Skip to main content

ChannelSpamBlockState

Latest Telegram SpamBot check state stored on a channel. It is used for Wappi Telegram diagnostics and can be updated by a manual check or a scheduled checker.

statusStatus

Current spam-block check status.

Possible values: [unknown, ongoing_check, not_limited, limited, parse_failed, send_failed]

Default value: unknown
limited_until object

When Telegram says the account limitation will be lifted, if parsed from SpamBot.

anyOf
date-time
check_started_at object

When the latest check request was started.

anyOf
date-time
last_response_at object

Timestamp of the latest SpamBot response seen for this channel.

anyOf
date-time
last_response_text object

Raw latest SpamBot response text kept for operator diagnostics.

anyOf
string
last_error object

Last send or parse error, if the check failed.

anyOf
string
request_message_id object

External Wappi message id for the latest /start request, if available.

anyOf
string
request_task_id object

External Wappi task id for the latest /start request, if available.

anyOf
string
source object

What started the latest check — manual user action or scheduled automation.

anyOf
string

Possible values: [manual, scheduled]

requested_by_user_id object

User id that manually started the latest check, if any.

anyOf
integer
ChannelSpamBlockState
{
"status": "unknown",
"limited_until": "2024-07-29T15:51:28.071Z",
"check_started_at": "2024-07-29T15:51:28.071Z",
"last_response_at": "2024-07-29T15:51:28.071Z",
"last_response_text": "string",
"last_error": "string",
"request_message_id": "string",
"request_task_id": "string",
"source": "manual",
"requested_by_user_id": 0
}