mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: minor cleanup (#2124)
This commit is contained in:
@@ -29,7 +29,7 @@ func NewBotWithHandler(h Handler) *Bot {
|
||||
const noTokenWait = 30 * time.Second
|
||||
const errRetryWait = 10 * time.Second
|
||||
|
||||
// Start start an infinity call of getUpdates from Telegram, call r.MessageHandle while get new message updates.
|
||||
// Start start a long polling using getUpdates to get Update, call r.MessageHandle while get new message updates.
|
||||
func (b *Bot) Start(ctx context.Context) {
|
||||
var offset int
|
||||
|
||||
|
Reference in New Issue
Block a user