Skip to content

Commit 18214c0

Browse files
committed
fix: Remove omitempty from is_bot
1 parent 2c0f5de commit 18214c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type User struct {
5656
LastName string `json:"last_name,omitempty"` // optional
5757
UserName string `json:"username,omitempty"` // optional
5858
LanguageCode string `json:"language_code,omitempty"` // optional
59-
IsBot bool `json:"is_bot,omitempty"` // optional
59+
IsBot bool `json:"is_bot"`
6060
}
6161

6262
// String displays a simple text version of a user.

0 commit comments

Comments
 (0)