fix(slack): increase batch size for conversation.list api method

This commit is contained in:
Ivan Zuev
2022-01-26 17:58:55 +03:00
parent ac06a26809
commit 23353f0ac6

View File

@@ -291,6 +291,7 @@ func (b *channels) populateChannels(wait bool) {
queryParams := &slack.GetConversationsParameters{
ExcludeArchived: true,
Types: []string{"public_channel,private_channel"},
Limit: 1000,
}
for {
channels, nextCursor, err := b.sc.GetConversations(queryParams)