SetadInfo uses only Rubika's official Bot API v3.
Official references:
- Bot creation: https://rubika.ir/botapi
- API methods: https://rubika.ir/botapi/methods
- Official BotFather: https://rubika.ir/BotFather
- Open Rubika's official
BotFather. - Send
/newbot. - Choose the bot name requested by BotFather.
- Store the returned token as a secret. Do not place it in source control or chat logs.
- Set
RUBIKA_BOT_TOKEN=<token>in/opt/setadinfo/.env. - Recreate the API and worker containers:
cd /opt/setadinfo/current
docker compose --env-file /opt/setadinfo/.env up -d --force-recreate api worker beatUse your own bot name, username, and token. The token belongs only in the server environment file and should never be stored in repository files, issue comments, screenshots, or chat logs.
Default destinations are optional. The recommended workflow is to register one or more explicit recipients and select them per monitor.
The Rubika web-client URL identifiers for groups/channels are not Bot API
chat_id values. Direct sends to those URL identifiers return
INVALID_INPUT; use getUpdates after a bot command or mention exposes the
real Bot API IDs.
- The user opens the bot and sends at least one message. Opening the link without sending a message is not sufficient.
- In SetadInfo Settings, select
دریافت chat ID. - Add the discovered ID as type
کاربر, give it a clear name, and save it.
- Add the bot to the group.
- Allow it to read the update needed to identify the group and send messages.
- Send a new message in the group after adding the bot. Mention the bot username or send a bot command so the update is explicit.
- Discover the ID in Settings and save it as type
گروه / گفتگو.
- Add the bot to the channel as an administrator.
- Grant permission to publish messages.
- Publish
/startor mention the bot username, then discover the returned Bot API chat ID in Settings. - Save it as type
کانال.
When creating or editing a filter monitor or single-item monitor:
- Enable Rubika notifications.
- Select any number of enabled destinations.
- Save the monitor.
Destinations can be added, disabled, edited, removed, or reassigned later. Notifications are sent only when a successful check detects at least one new or changed listing or offer.
After configuring each destination, use the Settings test-send action before assigning it to a monitor.