https://github.com/imvickykumar999/telegram-bot
Read and Send Message : https://stackoverflow.com/a/77716841/11493297
https://github.com/imvickykumar999/telegram-bot
api json telegram-bot
Last synced: 3 months ago
JSON representation
Read and Send Message : https://stackoverflow.com/a/77716841/11493297
- Host: GitHub
- URL: https://github.com/imvickykumar999/telegram-bot
- Owner: imvickykumar999
- Created: 2021-08-23T14:38:31.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-26T10:49:04.000Z (almost 2 years ago)
- Last Synced: 2023-12-26T11:42:27.094Z (almost 2 years ago)
- Topics: api, json, telegram-bot
- Language: Jupyter Notebook
- Homepage: https://www.pythonanywhere.com/user/imvickykumar999/tasks_tab/
- Size: 711 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
># `Telegram-Bot`
>
>## Quick Start
>
> ngrok http --url=monkey-related-kangaroo.ngrok-free.app 8000
> export TELEGRAM_BOT_TOKEN="6165xxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx8uo"
> ollama serve
> python app.py
>
>## Read and Write
>
> Read message :
> (chat_id is in response of this request, it contains all
> messages sent by anyone till now, on this bot)
>
> https://api.telegram.org/bot{bot_token}/getUpdates
>
> Write Message :
> (bot_chatID will define, whom to send message,
> and bot_token will define who will send message)
>
> https://api.telegram.org/bot{bot_token}/sendMessage?chat_id={bot_chatID}&parse_mode=Markdown&text={bot_message}
>
>## Custom Model integrated with Telegram Webhook
>### `ollama run` [`blogforge`](https://blogforge.pythonanywhere.com/blogs/)
>
>
>
>---------------
>
>## `Hosted Telegram` [`Webhook`](https://t.me/VixReelsbot)
>
>
>
>---------------
>
>## `Daily Task` [`Scheduler`](https://www.pythonanywhere.com/user/imvickykumar999/tasks_tab/)
>
>
>
>------------
>
>## `Where to find the Telegram` [`Api Key`](https://stackoverflow.com/questions/43291868/where-to-find-the-telegram-api-key) ?
>
>### `Go to :` [`@BotFather`](https://t.me/BotFather)
>
>
>