Skip to content

Commit

Permalink
chat: add new bot api 6.1 fields
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Oct 5, 2022
1 parent 2a6eec3 commit adf6dc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adf6dc8

Please sign in to comment.