mirror of
https://github.com/tucnak/telebot
synced 2024-11-15 06:13:01 +00:00
Add is_bot to unmarshal
This commit is contained in:
parent
8c1c512262
commit
138d854284
1
chat.go
1
chat.go
@ -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).
|
||||||
|
Loading…
Reference in New Issue
Block a user