Merge pull request #17 from dmekhov/fix-readme fix ReplyToMessageID assignment in readme
OvyFlash 46941696+OvyFlash@users.noreply.github.com
Mon, 04 Mar 2024 16:53:18 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
README.md
→
README.md
@@ -61,7 +61,7 @@ if update.Message != nil { // If we got a message
log.Printf("[%s] %s", update.Message.From.UserName, update.Message.Text) msg := tgbotapi.NewMessage(update.Message.Chat.ID, update.Message.Text) - msg.ReplyToMessageID = update.Message.MessageID + msg.ReplyParameters.MessageID = update.Message.MessageID bot.Send(msg) }