From 014770b7e3379595794f8e0399863acb28b7624d Mon Sep 17 00:00:00 2001 From: Ivan Zuev Date: Fri, 28 Jan 2022 12:55:58 +0300 Subject: [PATCH] fixup! feat(telegram): command to get chat id --- bridge/telegram/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/telegram/handlers.go b/bridge/telegram/handlers.go index 47f11e0970..73056a8965 100644 --- a/bridge/telegram/handlers.go +++ b/bridge/telegram/handlers.go @@ -16,7 +16,7 @@ import ( func (b *Btelegram) handleUpdate(rmsg *config.Message, message, posted, edited *tgbotapi.Message) *tgbotapi.Message { // handle channels if posted != nil { - if posted.Text == "/chat-id" { + if posted.Text == "/chatId" { chatID := strconv.FormatInt(posted.Chat.ID, 10) _, err := b.Send(config.Message{