Increase batch size for conversation.list api method (slack) (#1700)

Co-authored-by: Ivan Zuev <i-zuev@yandex-team.ru>
pull/1704/head
Ivan Zuev 2 years ago committed by GitHub
parent 5a1fd7dadd
commit 6a7412bf2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save