telegram-bot-api
telegram-bot-api copied to clipboard
how to convert json into *tgbotapi.Update
Hi, you could try
var update tgbotapi.Update
err = json.Unmarshal([]byte(body), &update)
Hi, you could try
var update tgbotapi.Update
err = json.Unmarshal([]byte(body), &update)