Skip to main content

Voting Deep Link — Partner Integration

For partner bot developers (Heimdall, Skeleton, WTFTrending, etc.) adding a Vote on Danbot entry to a multi-bot voting menu.

TL;DR

Add a URL button to your menu:

Label: 👑 Danbot Vote
URL: https://t.me/OG_Danbot?start=voting_<CHAT_ID>

Where <CHAT_ID> is the project's Telegram group chat ID. One static URL per project — paste and forget.

How It Works

  1. User taps the button.
  2. Telegram opens a private chat with @OG_Danbot and sends /start voting_<CHAT_ID>.
  3. Danbot validates the project, casts the vote on behalf of the user, and posts a notification in the project's voting group.
  4. User receives a confirmation in DM.

Getting the CHAT_ID

A group admin types /id in the Telegram group and Danbot replies with the group's chat ID. Paste that into the partner bot's configuration as the <CHAT_ID> value.

info

Telegram supergroup chat IDs are large negative integers (e.g. -1001234567890). Include the minus sign.

User-Side Rules (Informational)

  • One vote per user per project per 24 hours (Telegram daily reset, UTC).
  • Voting must be active on the target project (admin has run /startvoting).
  • Vote weight is based on the voter's activity score in the Danbot network — Danbot handles this server-side; partners don't need to surface it.

Error Responses

These messages are shown to the user in DM:

ConditionMessage to user
Project not registered / wrong CHAT_ID❌ Project not found.
Voting not currently enabled❌ Voting is not currently enabled for this project.
Already voted today✅ You've already voted for <project> today! Vote again tomorrow 🗳️
Success✅ Vote cast for <project>! 🗳️ (+ group notification)

Multi-Bot Note

Danbot operates several bot instances (@OG_Danbot, @DBTC_Dan_bot, others). All deep links should target @OG_Danbot as the public entry point, regardless of which Danbot instance the project's group is internally bound to. Vote resolution happens on the back end.

Example: Heimdall /voteall Row

[👑 WTF Vote]        → https://t.me/WTFTrendingBot?start=vote_<token>
[👑 Skeleton Vote] → https://t.me/SkeletonPriceBot?start=vote_<token>
[👑 Danbot Vote] → https://t.me/OG_Danbot?start=voting_<CHAT_ID>

Same row pattern, single payload field. Danbot uses the voting_ prefix — copy it verbatim (some other partners use the shorter vote_).

Questions

Contact @pm0xff on Telegram.