@@ -22,6 +22,7 @@ type APIResponse struct {
22
22
type Update struct {
23
23
UpdateID int `json:"update_id"`
24
24
Message * Message `json:"message"`
25
+ EditedMessage * Message `json:"edited_message"`
25
26
InlineQuery * InlineQuery `json:"inline_query"`
26
27
ChosenInlineResult * ChosenInlineResult `json:"chosen_inline_result"`
27
28
CallbackQuery * CallbackQuery `json:"callback_query"`
@@ -99,6 +100,7 @@ type Message struct {
99
100
ForwardFromChat * Chat `json:"forward_from_chat"` // optional
100
101
ForwardDate int `json:"forward_date"` // optional
101
102
ReplyToMessage * Message `json:"reply_to_message"` // optional
103
+ EditDate int `json:"edit_date"` // optional
102
104
Text string `json:"text"` // optional
103
105
Entities * []MessageEntity `json:"entities"` // optional
104
106
Audio * Audio `json:"audio"` // optional
@@ -173,7 +175,8 @@ type MessageEntity struct {
173
175
Type string `json:"type"`
174
176
Offset int `json:"offset"`
175
177
Length int `json:"length"`
176
- URL string `json:"url"` // optional
178
+ URL string `json:"url"` // optional
179
+ User * User `json:"user"` // optional
177
180
}
178
181
179
182
// ParseURL attempts to parse a URL contained within a MessageEntity.
0 commit comments