Configura la integración de Telegram usando el plugin discourse-chat-integration

Yes I’m also experiencing this too. It will react to join/leave/pin events and I did make sure "Group Privacy is enabled.

Any updates on this? Much appreciated. @david

1 me gusta

Hello, We’re experiencing the same problem as well. The group privacy setting is enabled for our bot. However, it keeps sending:

New rule: /[watch|follow|mute] [category] [tag:name]
(you must specify a rule type and at least one category or tag)
- watch – notify this channel for new topics and new replies
- follow – notify this channel for new topics
- mute – block notifications to this channel

Remove rule: /remove [rule number]
([rule number] can be found by running /status)

List rules: /status

Help: /help

Every time someone join or leave, Is there any solution for this?
Thanks.

1 me gusta

Currently, the solution is to create a channel and set the bot to broadcast to that channel. Then link that channel with the group chat.

Although, I’d prefer a cleaner solution.

2 Me gusta

I’m having the same issue regarding the bot reacting to pin/join/leave events and posting the help message.

It also reacts to users (any user) tagging it or replying to its posts by re-posting the Chat ID.

There is also the fact that it tags Telegram users with a ‘@’, but using their Discourse username. These often don’t match. In my opinion it should mention the user name, but without using the @ symbol.

Given that I broadcast different filters to multiple telegram chats, the workaround of using a channel is not doable for me.

Is there someone working on this plugin that could take care of these issues? @david – sorry to annoy you, but maybe you can answer this question.

I am willing to spend some time and attempt to sift through the code, but I’m not very familiar with Ruby on Rails and that would take time to adjust.

2 Me gusta

getting an error 422 when testing it on groups or chanels.

the bot works perfectly on private chat with the bot itself. so the API is fine.

I noticed telegram gives you 10 digit chat ID for personal chats and 13 digits chat ID for groups or channels. this is the only difference i see.

anyone found a way to solve this ?

We’ve made the necessary changes and tested it for a number of days in multiple Telegram chats.

We took the liberty of creating a pull request:

3 Me gusta

Gracias por este plugin, suena genial.
Lo he instalado para Telegram y funciona, puedes recibir mensajes cuando alguien publica en una categoría o publica en un grupo.

Pero me gustaría recibir notificaciones del sistema (alertas), por ejemplo, aquellas que el sistema envía cuando falla una copia de seguridad, o cuando te aconseja actualizar a una nueva versión.
Sería genial tenerlas en Telegram en lugar de por correo electrónico.
¿Cómo puedo lograr eso?
Gracias.

Creo que necesitas este plugin en su lugar:

1 me gusta

Gracias, pero al leer la información, parecía que el otro plugin estaba orientado al usuario y pensé en permitir que los usuarios interactuaran con los hilos de Discourse usando Telegram, recibieran respuestas a sus publicaciones, dieran “me gusta” y demás.

Solo quiero recibir notificaciones de Discourse para moderadores y administradores en Telegram, notificaciones cuando algo sale mal.
Eso es lo más importante para nosotros. Quizás implementemos la otra funcionalidad en el futuro, pero prefiero probarla con mensajes de administradores y moderadores.

En este plugin existe la opción de enviar notificaciones grupales a Telegram.
Pensé que eso era lo que necesitábamos.

Pero cuando selecciono notificación grupal en las reglas del canal, solo veo algunos grupos de usuarios que hemos creado.
En la lista no hay grupos del sistema como administradores, moderadores, personal, nivel de confianza uno, etc.

@david Estoy intentando usar tu plugin para redirigir mensajes que se envían a los grupos de administradores y moderadores a los grupos de chat de Telegram correspondientes.
He creado el bot y lo he incluido en los grupos de chat y funciona, el bot envía mensajes de prueba.
El problema es que cuando creo la regla e intento seleccionar el grupo de mensajes como origen, en la lista de grupos solo muestra los grupos creados por nosotros, ninguno de los grupos del sistema como administradores, moderadores, personal o nivel de confianza.
¿Cómo puedo solucionar esto?
Gracias de antemano.

@david Gracias por el plugin. ¡Funciona a la perfección!

No soy desarrollador, pero ¿sería posible insertar la URL de la publicación en las notificaciones? Me gustaría usar este plugin solo como anuncio de los nuevos temas, pero sería genial si el enlace apareciera en la notificación (de Telegram), por ejemplo.

Saludos,

Puedes personalizar las plantillas de mensajes buscando “telegram” en la sección de personalización de texto del panel de administración

2 Me gusta

Hola David Taylor! Tengo un problema con la “integración de chat telegram habilitada”. Cuando hago clic en habilitar y deshabilitar el bot, todo funciona. Pero cuando inserto el bot y activo la casilla de verificación, se desactiva.

https://drive.google.com/file/d/1Jv6p-bADSqeFfUyDHse2iEwbCVzzYr3B/view?usp=sharing - mi video de este caso aquí. ¿Qué debo hacer? Gracias

El método de Telegram se deshabilitará automáticamente si Discourse no logra configurar la integración con Telegram. Cuando esto suceda, se debería mostrar un mensaje de error en los registros. ¿Podrías intentar visitar /logs en tu foro y ver si hay algún mensaje de error rojo relacionado con Telegram?

2 Me gusta

David Taylor Por supuesto, puedes ver los últimos registros en esta captura de pantalla. No obtuve errores =(

Pero no estoy seguro de los registros de errores. ¿Está bien?


P.S. David Taylor si uso “” funciona pero cuando intento hacer un mensaje de prueba obtengo un error 505


Quizás este error de la consola pueda ayudar

También recibí un error 500, sin embargo, en mi caso, todo está bien con HTTPS.

Tengo integración de Telegram funcionando y busco enviar notificaciones a Telegram desde Discourse para publicaciones programadas. No estoy seguro si es un error o solo me pasa a mí, por alguna razón no funciona. ¿Alguien tiene idea de cómo corregir esto? Muy apreciado.

Gracias

He conseguido que todo funcione hasta el paso 3 de “añadir un canal”.

Sin embargo, cuando voy a plugins > integraciones de chat y hago clic, no ocurre nada:

La URL en mi navegador cambia a ../admin/plugins/chat-integration/telegram pero nada en la interfaz de usuario cambia.

¿Podría ser un problema que esté utilizando la prueba gratuita de alojamiento de Discourse?