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:
commit
d657643538
2
json.go
2
json.go
@ -89,6 +89,8 @@ type Member struct {
|
||||
AutoKicked bool `json:"autokicked,omitempty"`
|
||||
AppInstalled bool `json:"app_installed,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user