Add is_bot to unmarshal

This commit is contained in:
Leon Grünewald 2019-05-20 00:36:15 +02:00
parent 8c1c512262
commit 138d854284

View File

@ -10,6 +10,7 @@ type User struct {
LastName string `json:"last_name"` LastName string `json:"last_name"`
Username string `json:"username"` Username string `json:"username"`
LanguageCode string `json:"language_code"` LanguageCode string `json:"language_code"`
IsBot bool `json:"is_bot"`
} }
// Recipient returns user ID (see Recipient interface). // Recipient returns user ID (see Recipient interface).