This commit is contained in:
Karmanyaah Malhotra committed 2021-04-29 00:16:19 -04:00
1 parent 0ff534c2df
commit e2daccc250
6 files changed
+46 -20

No files matched your search

+4
View File
@@ -25,6 +25,10 @@ func (c Client) IndexAllGroups() ([]*groupme.Group, error) {
})
}
func (c Client) IndexAllRelations() ([]*groupme.User, error) {
return c.IndexRelations(context.TODO(), &groupme.IndexChatsQuery{})
}
func (c Client) IndexAllChats() ([]*groupme.Chat, error) {
return c.IndexChats(context.TODO(), &groupme.IndexChatsQuery{
PerPage: 100, //TODO?