Skip to content

Instantly share code, notes, and snippets.

@fpaupier
Last active May 25, 2020 04:18
Show Gist options
  • Save fpaupier/46331773f87474bc1f15271d35b99c5f to your computer and use it in GitHub Desktop.
Save fpaupier/46331773f87474bc1f15271d35b99c5f to your computer and use it in GitHub Desktop.
A minimalist Telegram Update struct in Go
// Update is a Telegram object that the handler receives every time an user interacts with the bot.
type Update struct {
UpdateId int `json:"update_id"`
Message Message `json:"message"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment