BOTWIZARD Documentation

Block/Unblock a Subscriber

Block / Unblock

bot.peer.ban bot.peer.unban

Check for a chat block

bot.peer.is_banned

A note about the Write First feature

The blocking is done at the Chat ID level, which is unknown at the time of FIRST writing, so this function (write first) can bypass blocking state of chat. Consider this fact.

Behavior when receiving an incoming message from a blocked subscriber

The message will be stored in the database, but will not be passed on for further processing. The standard commission is charged as for the incoming message.

Sending messages to a blocked subscriber

Messages that are sent to blocked subscribers are discarded without being stored in the database. Commission is not charged.