Studenten Net Twente Syscom information

Matrix-Telegram bridge

The Telegram bridge allows Telegram and Matrix users to communicate with each other. Official support channels are #telegram:utwente.io on Matrix and @snt_matrix on Telegram.

Adding the Telegram bridge to your room

  1. Invite @snt_matrix_bot to your Telegram group or channel
  2. In Telegram, type the command /id to get a number returned to you by the bridge
  3. Invite @telegram:integrations.snt.utwente.nl to your Matrix room
  4. In Matrix, send the message !tg bridge <the number from earlier>. Example: !tg bridge -23456789
  5. The bridge will ask you to confirm the bridge. Do this by sending the message !tg continue
  6. Your room should now be bridged to Telegram

Removing the Telegram bridge from your room

  1. In the Matrix room you’d like to unbridge, send the message !tg unbridge
  2. The bridge will ask you to confirm that you’d like to unbridge the room. Do this by sending the message !tg confirm-unbridge
  3. The bridged users should automatically leave and the bridge will be severed

Logging in with your Telegram account

By default the bridge uses a “relay bot” for people who are not logged in to the bridge. This can lead to confusion when the Telegram bridge posts lots of messages in your Telegram chats. By using your own Telegram account, the bridge will send messages to chats with your account rather than the relay bot when you talk on matrix. In addition to that, you also get invited to all current and future Telegram chats – it’s like using Telegram in Matrix!

  1. Invite @telegram:integrations.snt.utwente.nl to a private chat
  2. Send the message !tg login
  3. Click the link and follow the instructions
  4. The bridge will now start inviting you to all your Telegram chats and synchronize the rooms