From adf6dc85a275bee3e6df145e50e78ec4e1cec835 Mon Sep 17 00:00:00 2001 From: Demian Date: Wed, 5 Oct 2022 14:56:50 +0300 Subject: [PATCH] chat: add new bot api 6.1 fields --- chat.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chat.go b/chat.go index ece0a69..f16f874 100644 --- a/chat.go +++ b/chat.go @@ -97,6 +97,9 @@ type ChatMember struct { // Use tele.Forever(). // RestrictedUntil int64 `json:"until_date,omitempty"` + + JoinToSend string `json:"join_to_send_messages"` + JoinByRequest string `json:"join_by_request"` } // ChatID represents a chat or an user integer ID, which can be used