Merge pull request #8 from tekkamanendless/add-member-by-search

Add the email and phone_number fields to the Member structure
This commit is contained in:
Densest Void 2020-12-14 21:31:17 -05:00 committed by GitHub
commit d657643538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,8 @@ type Member struct {
AutoKicked bool `json:"autokicked,omitempty"` AutoKicked bool `json:"autokicked,omitempty"`
AppInstalled bool `json:"app_installed,omitempty"` AppInstalled bool `json:"app_installed,omitempty"`
GUID string `json:"guid,omitempty"` GUID string `json:"guid,omitempty"`
PhoneNumber string `json:"phone_number,omitempty"` // Only used when searching for the member to add to a group.
Email string `json:"email,omitempty"` // Only used when searching for the member to add to a group.
} }
func (m Member) String() string { func (m Member) String() string {