mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
interact: fix telegram message length check
This commit is contained in:
parent
b855267604
commit
0b9320f7dc
|
@ -157,7 +157,9 @@ func (tm *Telegram) Start(context.Context) {
|
|||
|
||||
if reply.set {
|
||||
reply.build()
|
||||
checkSendErr(tm.Bot.Send(m.Chat, reply.message, reply.menu))
|
||||
if len(reply.message) > 0 || reply.menu != nil {
|
||||
checkSendErr(tm.Bot.Send(m.Chat, reply.message, reply.menu))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user