OnlyFans Telegram Bot
An OnlyFans Telegram bot is the quickest way for a solo creator or a small chat team to get alerts and fire actions from their phone. The Telegram Bot API is a plain HTTPS interface, so it pairs cleanly with ofapis: events flow into a Telegram chat via sendMessage, and Telegram commands flow out as ofapis calls.
Step 1: create the bot
Message @BotFather in Telegram, run /newbot, and copy the token it returns. Every call you make uses https://api.telegram.org/bot<TOKEN>/<method>. Grab your target chat_id by messaging the bot once and reading getUpdates.
ofapis events → Telegram (sendMessage)
Point an ofapis signed webhook at a small relay, verify the signature, and forward to Telegram:
POST https://api.telegram.org/bot<TOKEN>/sendMessage
Content-Type: application/json
{ "chat_id": 44123, "text": "💸 Tip: $20 from @nightowl" }
That's the whole notification path — no polling, no extra infrastructure beyond the relay.
Telegram commands → ofapis
Register commands with BotFather (/setcommands) and handle updates via webhook or long-polling. Your handler holds the Bearer token and translates a command into an ofapis call. A /dm command:
# Telegram: /dm 8123 Thanks for the tip!
POST https://api.ofapis.com/api/public/v1/accounts/42/chats/8123/messages
Authorization: Bearer ofapis_sk_...
Content-Type: application/json
{ "text": "Thanks for the tip!" }
The ofapis_sk_... key lives in your handler's environment; Telegram only ever transports the command text. Reply to the user with a ✅ once ofapis returns a 2xx.
Three recipes to build
/statson demand. A command that pulls today's statistics — new subs, tips, revenue — and replies as a formatted message, so creators check numbers without a dashboard.- PPV send with confirm.
/ppv <price> <caption>composes a PPV message referencing a vault item, then asks for a Yes/No inline-keyboard confirmation before it sends. - Lapsed-fan nudge. A scheduled job messages you a shortlist of lapsed subscribers; tapping a name fires a personalised win-back DM via the messaging API.
Because ofapis meters by successful call, a failed command (say, an expired session) returns an error your bot can surface — and it isn't billed.
FAQ
Is there an official OnlyFans Telegram bot?
No. ofapis is an independent, unofficial API and isn't affiliated with OnlyFans, and Telegram has no native OnlyFans bot. You build your own on the Telegram Bot API, calling ofapis for the OnlyFans actions.
Webhook or long-polling for the bot?
Either works. Long-polling (getUpdates) is simplest for a hosted script; a Telegram webhook to a serverless endpoint scales better and pairs neatly with the same relay handling ofapis events.
Can multiple chatters share one bot?
Yes. Add the bot to a group and gate commands by Telegram user id, or map each creator to a /accounts/{id}/... route so one bot manages several accounts. See multi-account management.
Where do I get a token?
Sign up free for an ofapis key — 250 credits a month covers building and testing the bot. Review pricing before you scale message volume.
Related: Discord · Slack · all integrations