topiabad.blogg.se

Create own telegram bot
Create own telegram bot







create own telegram bot

Mumble a voice oriented solution which allows self-hosted servers. Teamspeak a collaborative platform for teams, intended originally for gamers, free client and server. XMPP was the underlying protocol behind the original Google Talk messenger before it was rebranded to Google Hangouts and switched to a proprietary protocol.

create own telegram bot

XMPP/Jabber has been around for a longer time, is an open protocol with multiple server and client implementations, and might be the least tainted by third-party interests. BUT while it looks good on the surface, there are indications that companies behind it have undisclosed intimate links with governmental actors (similar to Signal). Matrix is allegedly providing "an open network for secure, decentralized communication" and has both open-source clients ( Element being the 'official' one) and an open-source server that can be self-hosted. There seem to be some unofficial telegram servers, but it's not clear how compatible they are with existing clients. So as long as the server itself is not open-source the entire Telegram eco-system cannot be considered open-source, even though there is an open API and official open-source clients. At the moment, we are undecided on whether or not Telegram should go in this direction. To enable you to run your own Telegram server while retaining both speed and security is a task in itself.

create own telegram bot

Telegram is a unified cloud service, so creating forks where two users might end up on two different Telegram clouds is unacceptable. Our architecture does not support federation yet. Q: Can I run Telegram using my own server? to the official telegram FAQ the current answer is no: Return await self._call(self._sender, request, ordered=ordered)įile "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 83, in _call I had a delay of up to 8 hours Traceback (most recent call last):įile "F:\proj\PYTHON\TElethonTGbot\main.py", line 107, in įile "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_completeįile "F:\proj\PYTHON\TElethonTGbot\main.py", line 90, in join_channelįile "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 30, in _call_ Print(f"ValueError cant get entity from: ")Įxcept :Ĭ_until_complete(join_channel()) client = TelegramClient(name, id, hash)Īwait client(ImportChatInviteRequest(links.split("+")))Īwait client((channel=links)) Then you will receive a token to access the HTTP API. Next, choose /newbot command, and setup a bot name. Using /start command, you can start registration (Image 1). I tried to slow down the process of subscribing to channels, but that didn't help either. It doesn’t matter what kind of application you use, and find BotFather bot. I have created a function that subscribes to a list of telegram channels and while it is running I get this error very often. I was building a bot using the telethon library and ran into a problem with a FloodWaitError.









Create own telegram bot