mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-27 05:02:02 -08:00
Fix telegram message deletion request (#1818)
This commit is contained in:
parent
67adad3e08
commit
99fbd9cae6
@ -404,7 +404,7 @@ func (b *Btelegram) handleDelete(msg *config.Message, chatid int64) (string, err
|
|||||||
}
|
}
|
||||||
|
|
||||||
cfg := tgbotapi.NewDeleteMessage(chatid, msgid)
|
cfg := tgbotapi.NewDeleteMessage(chatid, msgid)
|
||||||
_, err = b.c.Send(cfg)
|
_, err = b.c.Request(cfg)
|
||||||
|
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user