mirror of
https://github.com/kemko/memes-telegram-integration.git
synced 2026-01-01 15:55:41 +03:00
chore: update response message format
This commit is contained in:
@@ -140,8 +140,13 @@ func (s *Service) handler(ctx context.Context, b *bot.Bot, m *models.Update) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
b.SendMessage(ctx, &bot.SendMessageParams{
|
b.SendMessage(ctx, &bot.SendMessageParams{
|
||||||
ChatID: m.Message.Chat.ID,
|
ChatID: m.Message.Chat.ID,
|
||||||
Text: fmt.Sprintf("Memo created with %s", memo.Name),
|
Text: fmt.Sprintf("Content saved with [%s](%s/m/%s)", memo.Name, s.config.ServerAddr, memo.Uid),
|
||||||
|
ParseMode: models.ParseModeMarkdown,
|
||||||
|
DisableNotification: true,
|
||||||
|
ReplyParameters: &models.ReplyParameters{
|
||||||
|
MessageID: message.ID,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user