diff options
Diffstat (limited to 'model/client4.go')
-rw-r--r-- | model/client4.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/client4.go b/model/client4.go index a9b4d3826..cce3b62ef 100644 --- a/model/client4.go +++ b/model/client4.go @@ -832,7 +832,7 @@ func (c *Client4) GetUsersInChannel(channelId string, page int, perPage int, eta } } -// GetUsersInChannelStatus returns a page of users in a channel. Page counting starts at 0. Sorted by Status +// GetUsersInChannelByStatus returns a page of users in a channel. Page counting starts at 0. Sorted by Status func (c *Client4) GetUsersInChannelByStatus(channelId string, page int, perPage int, etag string) ([]*User, *Response) { query := fmt.Sprintf("?in_channel=%v&page=%v&per_page=%v&sort=status", channelId, page, perPage) if r, err := c.DoApiGet(c.GetUsersRoute()+query, etag); err != nil { |