Sha256: adee6c2053401050c68291553fed06c49e4629dc30da1dfdeb7a29d40e08bcd0
Contents?: true
Size: 1.35 KB
Versions: 4
Compression:
Stored size: 1.35 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Web module Api module Endpoints module AdminAnalytics # # Retrieve analytics data for a given date, presented as a compressed JSON file # # @option options [string] :type # The type of analytics to retrieve. The options are currently limited to member (for grid member analytics) and public_channel (for public channel analytics). # @option options [date] :date # Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC. Required unless metadata_only is set to true. # @option options [boolean] :metadata_only # Retrieve metadata for the type of analytics indicated. Can be used only with type set to public_channel analytics. See detail below. Omit the date parameter when using this argument. # @see https://api.slack.com/methods/admin.analytics.getFile # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.analytics/admin.analytics.getFile.json def admin_analytics_getFile(options = {}) raise ArgumentError, 'Required arguments :type missing' if options[:type].nil? post('admin.analytics.getFile', options) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems