Skip to content

Commit 4fe428c

Browse files
authored
Merge pull request #500 from zigmund/fix-chatjoinrequest-from
Fix ChatJoinRequest.From json tag
2 parents fde58e5 + e21487f commit 4fe428c

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
@@ -1687,7 +1687,7 @@ type ChatJoinRequest struct {
16871687
// Chat to which the request was sent.
16881688
Chat Chat `json:"chat"`
16891689
// User that sent the join request.
1690-
From User `json:"user"`
1690+
From User `json:"from"`
16911691
// Date the request was sent in Unix time.
16921692
Date int `json:"date"`
16931693
// Bio of the user.

0 commit comments

Comments
 (0)