Categorygithub.com/XiaoMengXinX/Telegram-OneText-bot
module
0.0.0-20230326160243-8df10ab776d3
Repository: https://github.com/xiaomengxinx/telegram-onetext-bot.git
Documentation: pkg.go.dev

# README

Telegram OneText Bot

A telegram bot to create onetext image.

Thanks to OneText_For_Android

Demo: OneText Bot

Built-in font: LxgwWenKai

Usage

On telegram group or private chat, send listed command to the bot:

/onetext - Get an onetext image

/quote - Reply to a message and quote it

/custom - Create an onetext image with your own text

For example, send the following message to the bot:

/custom Some\nrandom\ntext
Author
Source
https://example.com/

Then you will get an onetext image like this:

Deploy

Notice: The Root Directory need to be set as "bot".

Deploy with Vercel

After your deploying on vercel, set the webhook url of the bot by requesting bot api like this:

https://api.telegram.org/bot<YOUR_BOT_TOKEN>/setWebhook?url=https://<YOUR_DEPLOYMENT_URL>/<YOUR_BOT_TOKEN>

Then you can use your bot on telegram.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author