# Set up Telegram integration using the discourse-chat-integration plugin

**URL:** https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603
**Category:** Integrations
**Tags:** chat-integration, how-to
**Created:** [July 21, 2017, 4:26pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603 "2017-07-21T16:26:57Z")
**Posts on this page:** 13
**Page:** 5

<div class="post-metadata">

### Author: ![mk0r](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@mk0r](https://meta.discourse.org/u/mk0r)
#### Post date: [September 21, 2022, 11:32pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/87 "2022-09-21T23:32:52Z")

</div>

I tried logging in with a different browser, and nothing shows:

 ![Screen Shot 2022-09-21 at 4.30.34 PM](https://global.discourse-cdn.com/meta/original/4X/e/d/8/ed827da99620c2e98c9f0d3858333b0526554969.png)

(no settings were changed)

Weird

---

<div class="post-metadata">

### Author: ![mk0r](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@mk0r](https://meta.discourse.org/u/mk0r)
#### Post date: [September 22, 2022, 5:12am UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/88 "2022-09-22T05:12:30Z")

</div>

Update: it worked by trying on my iPhone

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 22, 2022, 7:50am UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/89 "2022-09-22T07:50:15Z")

</div>

Do you have any kind of ad blocker on your desktop? We’ve seen problems before where having the Discourse Ads plugin enabled can cause ad blockers to block this part of the admin UI.

---

<div class="post-metadata">

### Author: ![mk0r](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@mk0r](https://meta.discourse.org/u/mk0r)
#### Post date: [September 22, 2022, 6:28pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/90 "2022-09-22T18:28:08Z")

</div>

Yes, that could be it…

Anyways, I have another issue to bring up about the telegram integration.

My username on my test site is “Michael” — when Telegram sends the alert about a new post from me on the test forum, the notification reads `@michael posted in [Topic]` and the username in the Telegram message links directly to the user `@michael` on Telegram, who of course is some random person. (same for `@system`). This is a dealbreaker for this integration!

Do we generally have any control over the template/format of the messages in Telegram? I’m also not into the monospace font for the content

Thanks!

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 23, 2022, 11:04am UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/91 "2022-09-23T11:04:38Z")

</div>

> [@mk0r](#):
>
> Do we generally have any control over the template/format of the messages in Telegram? I’m also not into the monospace font for the content

Yup, it can be customized! Check out this guide for details:

> [@Customize text in Discourse](https://meta.discourse.org/t/customize-any-text-in-discourse/36092):
>
> bookmark This is a guide for customizing text in Discourse via the admin interface, enabling changes to various UI elements. person_raising_hand Required user level: Administrator In Discourse, you can customize all of the text via the admin interface. This can be useful for tailoring the user experience to better fit the particular tone or branding of your community. Summary This guide will cover: Accessing the text customization interface Editing text strings Identifying translatio…

> [@mk0r](#):
>
> the username in the Telegram message links directly to the user `@michael` on Telegram

If you modify the message template to wrap the username in backticks (`) then I think that should stop the auto-linking.

---

<div class="post-metadata">

### Author: ![mykhailo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mykhailo/32/301014_2.png) [@mykhailo](https://meta.discourse.org/u/mykhailo)
#### Post date: [April 3, 2023, 2:36pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/92 "2023-04-03T14:36:18Z")

</div>

Hello, [David Taylor](https://meta.discourse.org/u/david)! I have a question: telegram introduced threads in groups and a new parameter in sendMessage method, will you support it to send a message not just to the chat, but specifically to the thread?

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/c/2/ac24a80b750a9a6b28456aea2d6278787fd3c098.png)

---

<div class="post-metadata">

### Author: ![thibault](https://avatars.discourse-cdn.com/v4/letter/t/9fc29f/32.png) [@thibault](https://meta.discourse.org/u/thibault)
#### Post date: [April 5, 2023, 4:45pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/93 "2023-04-05T16:45:48Z")

</div>

> [@david](#):
>
> If you modify the message template to wrap the username in backticks (`) then I think that should stop the auto-linking.

Hi David, the plugin is amazing! I already set it up for Discord and it’s working fine on Telegram as well. I just would like to figure out how to remove the username tag.  
I tried adding the backticks, but this doesn’t solve the issue. Did I add them to the right place?

 ![CleanShot 2023-04-05 at 18.43.14@2x](https://global.discourse-cdn.com/meta/original/4X/8/a/4/8a47b990eb89dce6f6c1f254663a6cb81a801e6b.png)

---

<div class="post-metadata">

### Author: ![auryn\_macmillan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/auryn_macmillan/32/56633_2.png) [@auryn\_macmillan](https://meta.discourse.org/u/auryn_macmillan)
#### Post date: [December 14, 2023, 8:49pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/94 "2023-12-14T20:49:16Z")

</div>

Running into this error when I try to test.

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/7/e/17ee8e227f18c7f5056919930bc56fa3ed16e805.png)

Other posts responses here suggested that the `force_https` setting needed to be enabled. However I don’t seem to be able to find that setting anywhere.

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/8/d/48de4d8e2eb2baeae21282b48b830c102969d89d.png)

What am I missing?

---

<div class="post-metadata">

### Author: ![pyc](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@pyc](https://meta.discourse.org/u/pyc)
#### Post date: [April 19, 2025, 10:56pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/95 "2025-04-19T22:56:04Z")

</div>

Everything goes well until **Adding a Channel**. When I load a chat with bot, it just doesn’t reply. I cannot get Chat ID. Somebody help me getting it?

---

<div class="post-metadata">

### Author: ![pyc](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@pyc](https://meta.discourse.org/u/pyc)
#### Post date: [April 19, 2025, 10:58pm UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/96 "2025-04-19T22:58:09Z")

</div>

The next thing I did is that I just wrote something to bot - not a command, and I got Chat ID. OK, but it’s not mentioned anywhere in this tutorial, it needs to be a bit more clear.

---

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [April 20, 2025, 10:43am UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/98 "2025-04-20T10:43:56Z")

</div>

Pls someone guide regarding this:

> [@Why some of users have got their user-IDs mentioned automatically in Telegram Notifs?](https://meta.discourse.org/t/why-some-of-users-have-got-their-user-ids-mentioned-automatically-in-telegram-notifs/362604):
>
> See this screenshot. Why only Rohini gets her username + user-ID mentioned, automatically, but not Pankaj Grover, nor Nishu Chhabra (they only get their usernames mentioned)!! Why what could possibly be wrong with their usernames/userids? The above is just an example. Otherwise there are many other users who get their UserIDs mentioned, while others only get the…

---

<div class="post-metadata">

### Author: ![xpamych](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xpamych/32/373108_2.png) [@xpamych](https://meta.discourse.org/u/xpamych)
#### Post date: [May 26, 2025, 8:41am UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/99 "2025-05-26T08:41:40Z")

</div>

Is it possible to add the parameter `message_thread_id` to send messages to a specific thread in a group with threads?

---

<div class="post-metadata">

### Author: ![iouvps](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iouvps/32/527360_2.png) [@iouvps](https://meta.discourse.org/u/iouvps)
#### Post date: [October 31, 2025, 1:49am UTC](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603/100 "2025-10-31T01:49:34Z")

</div>

> [@Discourse](#):
>
> - Go to your discourse admin panel, Plugins , Chat Integrations , Telegram
> - Click Add Channel 
> - Enter a name for the channel (this is only displayed in the discourse admin panel, it can be anything)
> - Paste the **Chat ID** from earlier into the box, then click Save Channe l

~~I didn’t find Add Channel here in admin panel-plugins-Chat Integrations-Telegram。~~

I found it, thank you

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/d/3/9d3489016003bb63d9f0e3dcfdf0593318f857c2.png)

[Previous page](https://meta.discourse.org/t/set-up-telegram-integration-using-the-discourse-chat-integration-plugin/66603.md?page=4)
