Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
we look at the necessary functionality in the lib,
if not, we write it ourselves.
operate on the tid of the sender of the message.
we keep a quota in the database by type and time interval
(date-time type rounded to the nearest minute or hour)
or just a date-quota type for a day.
check. when exceeded, we quickly return an empty response.
we count the call to the quota,
for example, through insert on duplicate key update
, and the normal execution of the bot is further
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question