Sha256: 678a45962ca0e0e050970ebcbaa2a0332c0835c99a000db282fd3631046c4e52
Contents?: true
Size: 530 Bytes
Versions: 14
Compression:
Stored size: 530 Bytes
Contents
#todo: add pagination for case more than 1000 members in the channel def get_channel_members(channel_id) begin if channel_id.nil? return nil else if config.simulate and config.key?(:client) client.web_client.conversations_members[channel_id.to_sym].members else client.web_client.conversations_members(channel: channel_id, limit: 1000).members end end rescue Exception => stack @logger.warn stack end end
Version data entries
14 entries across 14 versions & 1 rubygems