From e21487f0d6b20c5bfd0e95295c89580b3d0552a6 Mon Sep 17 00:00:00 2001 From: Oleg Morozov Date: Mon, 13 Dec 2021 17:19:11 +0600 Subject: [PATCH] Fix ChatJoinRequest.From json tag --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index 18b4dec..847f1b1 100644 --- a/types.go +++ b/types.go @@ -1687,7 +1687,7 @@ type ChatJoinRequest struct { // Chat to which the request was sent. Chat Chat `json:"chat"` // User that sent the join request. - From User `json:"user"` + From User `json:"from"` // Date the request was sent in Unix time. Date int `json:"date"` // Bio of the user.