Add is_bot to unmarshal

pull/208/head
Leon Grünewald 5 years ago
parent 8c1c512262
commit 138d854284

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

Loading…
Cancel
Save