Telethon
telegram-bot-api
Our great sponsors
Telethon | telegram-bot-api | |
---|---|---|
22 | 26 | |
9,030 | 2,809 | |
3.0% | 4.9% | |
8.5 | 9.0 | |
9 days ago | 28 days ago | |
Python | C++ | |
MIT License | Boost Software License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Telethon
-
Any ideas on where can i store 55000 combat footages?
1) telegram-upload is based on telethon lib which has default auth parameters. You need to fork and change device ID, name, language pack or else https://github.com/LonamiWebs/Telethon/issues/3194
-
Export Private Channel
Above is an example using telethon (https://github.com/LonamiWebs/Telethon), you can read the documentation for more details. also you can export the above message to some file instead of printing it, download media if the message is not a text but a media etc
-
is there any way to get member details of telegram channel?
Try Telethon https://github.com/LonamiWebs/Telethon/wiki/Retrieving-all-chat-members
- How do you access unfiltered telegram in Indonesia?
-
How to use a specific function in the telegram API in Python
I'm using Python3+ and working with the Telethon Library (https://docs.telethon.dev/)
-
How to find all Telegram channels by name mask?
Have tried to use both Telethon and Pyrogram but strangely enough I can't find any related API methods at all, there is no documentation and no code examples for such a simple task.
- Telegram reminder bot
-
Scraping Telegram channel with Telethon stopped working
The issue can be found here: https://github.com/LonamiWebs/Telethon/issues/3264
-
Trio – a friendly Python library for async concurrency and I/O
Trio has a really nice aesthetic, although I personally found the concept of nurseries a bit weird at first.
However, I'd be interested to hear why one would use trio today instead of the more widely used (and official) built-in python async / asyncio stack?
Are there any major libraries using trio? (To see how a large, rather well-structured async codebase looks like, see Telethon, an async and complete MTProto implementation [1])
[1] https://github.com/LonamiWebs/Telethon
-
Just getting into Chatbot development in Python and having trouble choosing an API/Wrapper .. or Framework?
telethon
telegram-bot-api
-
Hide sender name
Is not that hard, they have amazing documentation about it: https://core.telegram.org/bots
-
Telegram OAuth Authorization for Your Site
You can make authorization via Telegram another way. It works. But today we want to do the classic OAuth Authorization. Before you begin, you need to create a Telegram bot and obtain your bot token. You can do this in @BotFather in Telegram. For more information on initiating a bot, read the Telegram Bot API documentation: https://core.telegram.org/bots
-
Is my idea possible to implement?
Absolutely possible. Here's the github page to the Telegram bot API. You would just need to check for incoming messages, check the body of the message for a word or phrase, and then send a message back with a photo or gif and an encouraging message.
-
How I built an AI-based Telegram bot in 21 minutes with Make and OpenAI
Creating a Telegram bot is fun: there's no website, no sign up, no forms — you just use a... bot. Yes, a bot that creates bots. It's called the BotFather 😂
-
A simple forwarder from WhatsApp to Telegram written in Go
Telegram has a bot API server that provides API to control the bots and get updates. Their own instance has some restrictions like you cannot download files bigger than 20MB. So, using a self hosted bot API server, you can overcome those limits.
- Serverless + JS: Um bot de web-scrapping diário
-
From BotFather to 'Hello World'
General Bot Platform Overview
-
Não consigo abrir api.telegram.org na Claro
$ curl -4 -v https://api.telegram.org * Trying 149.154.167.220:443... * TCP_NODELAY set * Connected to api.telegram.org (149.154.167.220) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * TLSv1.3 (OUT), TLS handshake, Client hello (1): * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): * TLSv1.3 (IN), TLS handshake, Certificate (11): * TLSv1.3 (IN), TLS handshake, CERT verify (15): * TLSv1.3 (IN), TLS handshake, Finished (20): * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.3 (OUT), TLS handshake, Finished (20): * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.telegram.org * start date: Mar 24 15:21:45 2022 GMT * expire date: Apr 25 15:21:45 2023 GMT * subjectAltName: host "api.telegram.org" matched cert's "api.telegram.org" * issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x555fdb2de2f0) > GET / HTTP/2 > Host: api.telegram.org > user-agent: curl/7.68.0 > accept: */* > * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 128)! < HTTP/2 302 < server: nginx/1.18.0 < date: Tue, 18 Oct 2022 00:00:24 GMT < content-type: text/html < content-length: 145 < location: https://core.telegram.org/bots < strict-transport-security: max-age=31536000; includeSubDomains; preload < access-control-allow-origin: * < access-control-allow-methods: GET, POST, OPTIONS < access-control-expose-headers: Content-Length,Content-Type,Date,Server,Connection < 302 Found 302 Found nginx/1.18.0 * Connection #0 to host api.telegram.org left intact
-
Can anyone teach me how to make these?
It's done via bots, which let you add clickable options to posts. Here's an FAQ on bots: https://core.telegram.org/bots
- Desarrollando un Bot para Telegram
What are some alternatives?
pyrogram - Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
aiogram - aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio
Gotify - A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui)
python-telegram-bot - We have made you a wrapper you can't refuse
MadelineProto - Async PHP client API for the telegram MTProto protocol
n8n - Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
django-wordpress - WordPress models and views for Django.
Signal-Desktop - A private messenger for Windows, macOS, and Linux.
gspread - Google Sheets Python API
telegraf - Modern Telegram Bot Framework for Node.js