An open API service indexing awesome lists of open source software.

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

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/)
>
>![image](https://github.com/user-attachments/assets/593944c8-9173-4c5a-8900-8d7cd2cc1519)
>
>---------------
>
>## `Hosted Telegram` [`Webhook`](https://t.me/VixReelsbot)
>
>![image](https://github.com/user-attachments/assets/65fc9f54-0045-4028-a127-d96250f72e83)
>
>---------------
>
>## `Daily Task` [`Scheduler`](https://www.pythonanywhere.com/user/imvickykumar999/tasks_tab/)
>
>![image](https://user-images.githubusercontent.com/50515418/236386341-7501297c-a659-4cb3-b964-e0fe3aeece4f.png)
>
>------------
>
>## `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)
>
>![image](https://user-images.githubusercontent.com/50515418/236387792-b1be0376-b938-4ab5-9f82-c8e3526d808c.png)
>