Telegram bots
Connect a Telegram bot you made with BotFather. People who message it edit video in the chat with no Vidmoat account. You decide who may use it, what it can do and what it may spend; every credit comes out of your balance.
Your bot keeps its own name and photo and speaks as itself. Behind it runs the same editing agent as Vidmoat's own bot, limited to editing tools, and everything it does is billed to your app at normal prices.
Set it up#
Create the bot
In Telegram, open @BotFather, send
/newbot, and choose the bot's name and photo. Those stay yours.Paste the token
In the console, open your app, then the Telegram tab, and paste the token BotFather gave you.
Try it
We check the token with Telegram (
getMe), show the bot's @username, and point the bot at a webhook for this app with a random secret. Message the bot to try it.
The token is stored encrypted and is never shown again; the console shows the @username and the token's last four characters. Every update must carry the webhook secret, and an update Telegram retries is recognised by its id and never runs or bills twice. Disconnecting deletes the webhook, cancels queued work and forgets the token. Revoking the token in BotFather also stops the bot.
If we suspend the app, the bot answers one fixed line and does nothing billed.