Added is_member field for ChatMember. Previously, it was not possible to check whether a ChatMemberRestricted had joined or left a chat.

pull/625/head^2
George 9 months ago committed by demget
parent c581e8389b
commit 3c4d8425f4

@ -106,6 +106,7 @@ type ChatMember struct {
Role MemberStatus `json:"status"`
Title string `json:"custom_title"`
Anonymous bool `json:"is_anonymous"`
Member bool `json:"is_member,omitempty"`
// Date when restrictions will be lifted for the user, unix time.
//

Loading…
Cancel
Save