We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b08a8f commit 06bbf9eCopy full SHA for 06bbf9e
chat.go
@@ -190,6 +190,12 @@ type ChatJoinRequest struct {
190
// Sender is the user that sent the join request.
191
Sender *User `json:"from"`
192
193
+ // UserChatID is an ID of a private chat with the user
194
+ // who sent the join request. The bot can use this ID
195
+ // for 5 minutes to send messages until the join request
196
+ // is processed, assuming no other administrator contacted the user.
197
+ UserChatID int64 `json:"user_chat_id"`
198
+
199
// Unixtime, use ChatJoinRequest.Time() to get time.Time.
200
Unixtime int64 `json:"date"`
201
0 commit comments