diff --git a/pkg/notifier/telegramnotifier/interaction.go b/pkg/notifier/telegramnotifier/interaction.go index ae7e41cb0..d8cdc88ca 100644 --- a/pkg/notifier/telegramnotifier/interaction.go +++ b/pkg/notifier/telegramnotifier/interaction.go @@ -3,6 +3,7 @@ package telegramnotifier import ( "fmt" + "github.com/c9s/bbgo/pkg/version" "github.com/pquerna/otp" "github.com/pquerna/otp/totp" "github.com/sirupsen/logrus" @@ -148,7 +149,10 @@ func (it *Interaction) Start(session Session) { it.session = &session if it.session.Owner != nil && it.session.Chat != nil { - if _, err := it.bot.Send(it.session.Chat, fmt.Sprintf("Hi %s, I'm back", it.session.Owner.Username)); err != nil { + if _, err := it.bot.Send(it.session.Chat, fmt.Sprintf("Hi %s, I'm back, this is version %s", + it.session.Owner.Username, + version.Version, + )); err != nil { log.WithError(err).Error("failed to send telegram message") } }