func (h *Handler) GetChannelsUsage(tkn string, ids []string) (map[string]Usage, error) {
	logger := h.logger.Add("method", "GetChannelsUsage", "objectType", "channel", "objectIDs", ids)

	if !h.token.Check(tkn) {
		logger.Warn("access denied")
		return nil, ErrAccessDenied
	}

	return h.getChannelsUsages(logger, ids)
}
func (h *Handler) GetChannelsUsage(tkn string, ids []string) (map[string]Usage, error) {
	logger := h.logger.Add("method", "GetChannelsUsage", "objectType", "channel", "objectIDs", ids)

	if !h.token.Check(tkn) {
		logger.Warn("access denied")
		return nil, ErrAccessDenied
	}

	return h.getChannelsUsages(logger, ids)
}
func ( h * Handler ) GetChannelsUsage ( tkn string , ids [ ] string ) ( map [ string ] Usage , error ) { logger := h . logger . Add ( " " , " " , " " , " " , " " , ids ) if ! h . token . Check ( tkn ) { logger . Warn ( " " ) return nil , ErrAccessDenied } return h . getChannelsUsages ( logger , ids ) }
// GetChannelsUsage returns detailed usage on channels.
GetChannelsUsage returns detailed usage on channels .