Comments (3)
A basic ping command shouldn't be too hard, but telegram-mtproto doesn't properly throw errors, so it's hard to differentiate between different inactive states (logged out, connection problem, server salt problem, etc..).
from telegram.
Maybe we can do all checks via simply sending help
command to botfather and check correct reply?
from telegram.
The ping command I added in eaff820 calls contacts.getContacts
with a 2.5s timeout to determine if the connection is working. I don't think messaging a bot will help, since it won't give more specific errors. The problem is in telegram-mtproto, so we'll just have to wait for that to get fixed.
from telegram.
Related Issues (20)
- fully_read status not being sent to Telegram HOT 2
- Restrict automatic portal creation HOT 1
- new release supporting new Telegram quote style?
- mautrix-telegram cannot display some messages, but displays "This message is not supported on your version of Mautrix-Telegram. Please check https://github.com/mautrix/telegram or ask your bridge administrator about possible updates.". HOT 2
- login-qr retry issue HOT 1
- Extra new lines HOT 3
- Support code blocks HOT 1
- Telegraph support
- Bridge stuck - user not able to read event
- Bridge reactions from Telegram with bot accounts HOT 2
- Arbitrary as_token does not work
- Sync Telegram bot messages to matrix room HOT 1
- Telegram bridge bot not responding to messages in matrix room? HOT 1
- Relaybot: notify the telegram room about discarded matrix events
- Unable to communicate with bridge after restart, 404s in log HOT 1
- "boosted the group" events not relayed correctly by the bridge
- Messages delivered mis-ordered
- Error when trying to join telegram protocol link
- Bridge reactions from Telegram to Matrix in Relay bot modus HOT 1
- TG polls shows broken message on MX
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram.