Last active
May 25, 2020 04:18
-
-
Save fpaupier/46331773f87474bc1f15271d35b99c5f to your computer and use it in GitHub Desktop.
A minimalist Telegram Update struct in Go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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