@@ -22,6 +22,7 @@ type APIResponse struct {
2222type Update struct {
2323 UpdateID int `json:"update_id"`
2424 Message * Message `json:"message"`
25+ EditedMessage * Message `json:"edited_message"`
2526 InlineQuery * InlineQuery `json:"inline_query"`
2627 ChosenInlineResult * ChosenInlineResult `json:"chosen_inline_result"`
2728 CallbackQuery * CallbackQuery `json:"callback_query"`
@@ -99,6 +100,7 @@ type Message struct {
99100 ForwardFromChat * Chat `json:"forward_from_chat"` // optional
100101 ForwardDate int `json:"forward_date"` // optional
101102 ReplyToMessage * Message `json:"reply_to_message"` // optional
103+ EditDate int `json:"edit_date"` // optional
102104 Text string `json:"text"` // optional
103105 Entities * []MessageEntity `json:"entities"` // optional
104106 Audio * Audio `json:"audio"` // optional
@@ -173,7 +175,8 @@ type MessageEntity struct {
173175 Type string `json:"type"`
174176 Offset int `json:"offset"`
175177 Length int `json:"length"`
176- URL string `json:"url"` // optional
178+ URL string `json:"url"` // optional
179+ User * User `json:"user"` // optional
177180}
178181
179182// ParseURL attempts to parse a URL contained within a MessageEntity.
0 commit comments