Skip to content

Commit e21487f

Browse files
committed
Fix ChatJoinRequest.From json tag
1 parent fde58e5 commit e21487f

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)