Documentation

Guides and help for BotStat services
BotManager · Broadcasts

Recipients

Updated 28.02.2024 3 min read

Terms

Alive
Users and groups the broadcast was delivered to
Blocked
Users and groups it couldn't be delivered to. Reasons: the user stopped the bot, the bot was removed from the group, the recipient's account was deleted or the recipient doesn't accept a media type used in the broadcast

What base is needed

To send a broadcast, attach a base of recipients from your bot's database. The file should contain only chat_ids of users and/or groups – they can be in the same list. Tags are allowed.

Formats: txt, json, csv, xlsx, xls.

How to attach a base

There are three ways:

1. File
You upload a file and we store it. It has to be updated manually
2. REST API
You send the base yourself via the API – we recommend this way. Set it up to send at least once a day. Documentation: api.botstat.io
3. Link
The base is downloaded automatically from the address you specify every hour
The base is updated before sendingWith any method, the base is updated automatically before a broadcast starts. The exception is a base added manually right into the task. The update history is in «My bots» → «DB».

Tags

You can add tags to the base file – your own grouping of users, example. When creating a task, pick the tags you need in «Recipients» → «Tags» – the broadcast will go only to those users.

Choosing tags when creating a task
Choosing tags when creating a task

Limit and offset

You can send to a part of the base instead of all of it. Values are set in percent (from 1% to 100%) or as a number. Example: the base has 10,000 recipients.

Limit
How many people get the broadcast. For example, 1000 – 1,000 out of 10,000 people get it
Offset
How many recipients to skip from the start of the base. For example, 3000 – the first 3,000 are skipped and 7,000 people get the broadcast

The two can be combined: with an offset of 3000 and a limit of 1000, the first 3,000 recipients are skipped and the next 1,000 get the broadcast.

Was this article helpful? Didn't find the answer? Contact support