0.9.1-dev, 3.5.1
Hello. I can only send messages to a Telegram channel from Mattermost, but I can't receive any messages from Telegram. Debug show nothing (when the message was sent to the channel from Telegram Web).
Seems https://github.com/42wim/matterbridge/blob/master/bridge/telegram/telegram.go#L126 is not working at the moment
If you sent a message from mattermost you should see something like this with -debug
DEBU[2017-01-18T21:15:02+01:00] Receiving config.Message{Text:"test", Channel:"-10012345678", Username:"wim: ", Avatar:"", Account:"mattermost.test", Event:""} module=telegram
Can you confirm this ?
@jlsjonas if you have time, could you test this ?
@42wim
Can you confirm this ?
Yes, absolutely.
Hi!
I have a similar problem
DEBU[2017-01-26T12:20:02+03:00] Receiving from matterclient &matterclient.Message{Raw:(model.WebSocketEvent)(0xc420526300), Post:(model.Post)(0xc4201dca00), Team:"team", Channel:"mattermost", Username:"usertest", Text:"fdsd"} module=mattermost
DEBU[2017-01-26T12:20:02+03:00] Sending message from usertest on mattermost.work to gateway module=mattermost
DEBU[2017-01-26T12:20:02+03:00] Sending config.Message{Text:"fdsd", Channel:"mattermost", Username:"[mattermost]", Avatar:"", Account:"mattermost.work", Event:""} from mattermost.work (mattermost) to telegram.telegram (mattermost)
But I can't receive any messages from Telegram.
What can I do?
@42wim sorry, quite busy coming 6 weeks but will try to test it this weekend, will keep you posted!
@livelace did you disable privacy mode for the bot?
@jlsjonas
No, it isn't working. I have switched off "privacy mode" (bot has access to messages) and I tried to send message directly to the bot and to the Telegram channel. There are no messages on Mattermost channel.
@livelace @MaksVal I've just pushed updates for the telegram issue.
Should be working now for groups and channels.
@42wim
It's working now, thanks. I got:
<unknown> sad
Is it possible to change
yes enable sign messages for your channel in your telegram client
@42wim
Thanks a lot for your help. It's working now.
I have another one little question about files/pictures which arrive at Telegram channel - will they appear in Mattermost channel ?
no only text at the moment
Ok, thanks :)
Great! Thanks you!
28 янв. 2017 г. 1:31 AM пользователь "Wim" notifications@github.com
написал:
@livelace https://github.com/livelace @MaksVal
https://github.com/MaksVal I've just pushed updates for the telegram
issue.
Should be working now for groups and channels.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/42wim/matterbridge/issues/112#issuecomment-275792944,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJpVj9DN8izSgI8CLsfbSzYDMrqTWXmxks5rWnBWgaJpZM4Lmv0a
.
Hi, @42wim !
Whats this mean?
DEBU[2017-01-30T09:13:19+03:00] Receiving from matterclient &matterclient.Message{Raw:(*model.WebSocketEvent)(0xc4203e3d40), Post:(*model.Post)(0xc42023e100), Team:"team-test", Channel:"mattermost", Username:"user", Text:"2"} module=mattermost
DEBU[2017-01-30T09:13:19+03:00] Sending message from user on mattermost.work to gateway module=mattermost
DEBU[2017-01-30T09:13:19+03:00] Sending config.Message{Text:"2", Channel:"mattermost", Username:"", Avatar:"", Account:"mattermost.work", Event:""} from mattermost.work (mattermost) to telegram.telegram (mattermost)
DEBU[2017-01-30T09:13:19+03:00] Receiving config.Message{Text:"2", Channel:"mattermost", Username:"", Avatar:"", Account:"mattermost.work", Event:""} module=telegram
ERRO[2017-01-30T09:13:19+03:00] strconv.ParseInt: parsing "mattermost": invalid syntax
Thanks! Sorry!
@maksval this means that you didn't specify your telegram channel correct. Telegram needs a large negative number as channel and not mattermost.
See https://github.com/42wim/matterbridge/blob/master/matterbridge.toml.sample#L537-L538
Oh, some sorry. Thanks!
2017-01-30 19:43 GMT+03:00 Wim notifications@github.com:
@maksval https://github.com/maksval this means that you didn't specify
your telegram channel correct. Telegram needs a large negative number as
channel and not mattermost.See https://github.com/42wim/matterbridge/blob/master/
matterbridge.toml.sample#L537-L538—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/42wim/matterbridge/issues/112#issuecomment-276114854,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJpVj6Oi-Cv-2ReX9im0mGzpRu7hkC_Rks5rXhMogaJpZM4Lmv0a
.
--
С уважением, Максим!
Hi, @42wim!
Sorry, but I have a some problem with this case. If I use useAPI=true, I didn't receiving a message:
DEBU[2017-01-31T13:20:16+03:00] Sending message from unknown on telegram.telegram to gateway module=telegram
DEBU[2017-01-31T13:20:16+03:00] Sending config.Message{Text:"ping", Channel:"#nr", Username:"unknown", Avatar:"", Account:"telegram.telegram", Event:""} from telegram.telegram (-1001117672512) to mattermost.work (#nr)
DEBU[2017-01-31T13:20:16+03:00] Receiving config.Message{Text:"ping", Channel:"#nr", Username:"[telegram]", Avatar:"", Account:"telegram.telegram", Event:""} module=mattermost
If I use useAPI=false, I receive message in mattermost from telegram.
P.S. What does it mean(useAPI=false) and how I fix it: 2017/01/31 13:05:03 no token from 10.10.6.204:59675?
Thanks you!