4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 23:29:25 +00:00

Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199

This commit is contained in:
Wim
2017-07-30 17:48:23 +02:00
parent 54216cec4b
commit f8e6a69d6e
9 changed files with 95 additions and 15 deletions

View File

@ -77,6 +77,7 @@ func (b *Btelegram) Send(msg config.Message) error {
func (b *Btelegram) handleRecv(updates <-chan tgbotapi.Update) {
for update := range updates {
flog.Debugf("Receiving from telegram: %#v", update.Message)
var message *tgbotapi.Message
username := ""
channel := ""